test
continuous-integration/drone/push Build is failing Details

pull/6/head
Bruno DA COSTA CUNHA 2 years ago
parent a2c6a111c0
commit 63eeeff7e7

@ -13,7 +13,7 @@ class Program
static void StartClient()
{
IPEndPoint serverEndPoint = new IPEndPoint(IPAddress.Parse("127.0.0.1"), 3131);
IPEndPoint serverEndPoint = new IPEndPoint(IPAddress.Parse("82.165.19.245"), 3131);
UdpClient client = new UdpClient();
// Send connection message to server

@ -35,6 +35,7 @@ class Program
// Assign a unique port to the client
IPEndPoint clientEndPoint = new IPEndPoint(IPAddress.Any, nextPort++); ;
UdpClient clientSocket = new UdpClient(clientEndPoint);
clientSocket.Client.Bind(clientEndPoint);
clients[remoteEndPoint] = clientSocket;
// Send connection message to client

Loading…
Cancel
Save