Remove debug traces from C# wrapper
This commit is contained in:
@@ -73,7 +73,6 @@ namespace ZeroTier.Core
|
|||||||
throw new ArgumentNullException("configFilePath");
|
throw new ArgumentNullException("configFilePath");
|
||||||
}
|
}
|
||||||
int res = Constants.ERR_OK;
|
int res = Constants.ERR_OK;
|
||||||
Console.WriteLine("path = " + configFilePath);
|
|
||||||
if ((res = zts_init_from_storage(configFilePath)) == Constants.ERR_OK) {
|
if ((res = zts_init_from_storage(configFilePath)) == Constants.ERR_OK) {
|
||||||
_configFilePath = configFilePath;
|
_configFilePath = configFilePath;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -201,7 +201,6 @@ namespace ZeroTier.Sockets
|
|||||||
Marshal.FreeHGlobal(lpBuffer);
|
Marshal.FreeHGlobal(lpBuffer);
|
||||||
lpBuffer = IntPtr.Zero;
|
lpBuffer = IntPtr.Zero;
|
||||||
IPEndPoint clientEndPoint = new IPEndPoint(IPAddress.Parse(str), port);
|
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.
|
// Create new socket by providing file descriptor returned from zts_bsd_accept call.
|
||||||
Socket clientSocket =
|
Socket clientSocket =
|
||||||
new Socket(accepted_fd, _socketFamily, _socketType, _socketProtocol, _localEndPoint, clientEndPoint);
|
new Socket(accepted_fd, _socketFamily, _socketType, _socketProtocol, _localEndPoint, clientEndPoint);
|
||||||
|
|||||||
Reference in New Issue
Block a user