I’m trying to write a client-server console application on C# using UDP.
And i have one question.
So, when i send command from client to server – servers must have a read IP adress.
client must get some settings from server,but in this case client must have real IP adress too. Other application like games do not require client real IP. What must do I to it work in such a way?
I’m trying to write a client-server console application on C# using UDP. And i
Share
Games either use the host computer with a public IP as a server or the server itself as a server.
A client with private IP establishes a connection with a server and the server then uses the connection to return data to a client (similar to browsers).
In C# you could use the NetworkStream class for TCP and UdpClient for UDP.