So, I understand that the connection between the client computer and the server computer can be initiated in Windows by creating a socket between the two computers, but each student I saw depends on the end user who knows the IP address of the computer to which they want to connect .
However, in local network games, clients somehow automatically determine the server. How it's done? Does the client check all possible IP addresses, are there any "GetDetectedIPs" api, etc.?
Im looking for answers that can be implemented in the standard WIN32 API in direct C. No MFC, .NET or C ++. Thank.
source
share