Exemple #1
0
 public void ConnectToServer(IPEndPoint endPoint, GameObject serverEntry)
 {
     Debug.Log("Connecting to server: " + endPoint.ToString());
     NUClient.Connect(endPoint.Address, (ushort)endPoint.Port);
 }
Exemple #2
0
 public void CreateNewServer()
 {
     NUServer.Start(NUUtilities.ListIPv4Addresses()[0]);
     NUClient.Connect(NUUtilities.ListIPv4Addresses()[0]);
 }
Exemple #3
0
 public void ConnectToServer()
 {
     Debug.Log("Connecting to server: " + ipAddressField.text + ":" + portField.text);
     NUClient.Connect(ipAddressField.text, ushort.Parse(portField.text));
 }