minor fix
This commit is contained in:
1 parent
ad5b903d36
commit
19c5259528
1 file changed
+1
@@ -14,6 +14,7 @@ namespace Mistox.Client {
|
|||||||
private readonly SemaphoreSlim _sendLock = new SemaphoreSlim(1, 1);
|
private readonly SemaphoreSlim _sendLock = new SemaphoreSlim(1, 1);
|
||||||
|
|
||||||
public mTCPClient( MistoxClient parent, IPEndPoint ServerAddress ) {
|
public mTCPClient( MistoxClient parent, IPEndPoint ServerAddress ) {
|
||||||
|
_parent = parent;
|
||||||
_connection = new TcpClient( AddressFamily.InterNetwork );
|
_connection = new TcpClient( AddressFamily.InterNetwork );
|
||||||
_connection.NoDelay = true;
|
_connection.NoDelay = true;
|
||||||
_connection.Connect( ServerAddress );
|
_connection.Connect( ServerAddress );
|
||||||
|
|||||||
Reference in new issue
Block a user