|
|
|
@ -14,7 +14,7 @@ class Program
|
|
|
|
|
static void StartClient()
|
|
|
|
|
{
|
|
|
|
|
//IPEndPoint serverEndPoint = new IPEndPoint(Dns.GetHostAddresses("hulivet.fr").FirstOrDefault(), 3131);
|
|
|
|
|
IPEndPoint serverEndPoint = new IPEndPoint(IPAddress.Parse("127.0.0.1"), 3131);
|
|
|
|
|
IPEndPoint serverEndPoint = new IPEndPoint(IPAddress.Parse("192.168.205.58"), 3131);
|
|
|
|
|
UdpClient client = new UdpClient();
|
|
|
|
|
|
|
|
|
|
// Send connection message to server
|
|
|
|
|