Remove debug traces from C# wrapper

This commit is contained in:
Joseph Henry
2021-05-26 11:16:18 -07:00
parent f65d89e35d
commit 31e94d4bbb
2 changed files with 0 additions and 2 deletions

View File

@@ -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;
}

View File

@@ -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);