Browse Source

Remove debug traces from C# wrapper

pull/8/head
Joseph Henry 5 years ago
parent
commit
31e94d4bbb
No known key found for this signature in database
GPG Key ID: C45B33FF5EBC9344
  1. 1
      src/bindings/csharp/Node.cs
  2. 1
      src/bindings/csharp/Socket.cs

1
src/bindings/csharp/Node.cs

@ -73,7 +73,6 @@ namespace ZeroTier.Core
throw new ArgumentNullException("configFilePath");
}
int res = Constants.ERR_OK;
Console.WriteLine("path = " + configFilePath);
if ((res = zts_init_from_storage(configFilePath)) == Constants.ERR_OK) {
_configFilePath = configFilePath;
}

1
src/bindings/csharp/Socket.cs

@ -201,7 +201,6 @@ namespace ZeroTier.Sockets
Marshal.FreeHGlobal(lpBuffer);
lpBuffer = IntPtr.Zero;
IPEndPoint clientEndPoint = new IPEndPoint(IPAddress.Parse(str), port);
Console.WriteLine("clientEndPoint = " + clientEndPoint.ToString());
// Create new socket by providing file descriptor returned from zts_bsd_accept call.
Socket clientSocket =
new Socket(accepted_fd, _socketFamily, _socketType, _socketProtocol, _localEndPoint, clientEndPoint);

Loading…
Cancel
Save