[DiscordArchive] tc already supports host names there?
[DiscordArchive] tc already supports host names there?
Archived author: Fabian • Posted: 2023-07-13T18:34:03.842000+00:00
Original source
tc already supports host names there?
Archived author: Tea • Posted: 2023-07-13T18:34:25.541000+00:00
Original source
tc supports whatever boost::asio::ip::tcp::resolver supports
Archived author: Tea • Posted: 2023-07-13T18:34:46.187000+00:00
Original source
but it passes the config string directly to boost, no parsing is done before
Archived author: ZaDarkSide • Posted: 2023-07-13T18:35:32.272000+00:00
Original source
https://www.boost.org/doc/libs/1_72_0/do..._name.html
Archived author: Fabian • Posted: 2023-07-13T18:35:36.169000+00:00
Original source
then you could just use the config string as address for the rest connection?
that would automatically put in the ip if its an ip and the hostname if its a hostname
Archived author: Fabian • Posted: 2023-07-13T18:36:07.032000+00:00
Original source
It would not change any other functionality if you do that i believe
Archived author: ZaDarkSide • Posted: 2023-07-13T18:37:29.569000+00:00
Original source
anyway my use case is this: i don't have a powerful enough computer to run server and client at the same time, so no localhost for me
Archived author: ZaDarkSide • Posted: 2023-07-13T18:37:45.773000+00:00
Original source
i need to run server on a public host and client on my machine
Archived author: Fabian • Posted: 2023-07-13T18:37:51.868000+00:00
Original source
u dont have 4 cores and 16gb ram? <:zuccwater:449685374189699072>
Archived author: ZaDarkSide • Posted: 2023-07-13T18:38:21.592000+00:00
Original source
16GB is not enough most times