Update Program.cs

This commit is contained in:
NYAN CAT 2019-01-27 09:04:31 -08:00
parent 45f086ed07
commit 247b310434

View File

@ -231,6 +231,8 @@ namespace Client
} }
public static void BeginSend(byte[] Msgs) public static void BeginSend(byte[] Msgs)
{
lock (Client)
{ {
if (Client.Connected) if (Client.Connected)
{ {
@ -253,6 +255,7 @@ namespace Client
} }
} }
} }
}
public static void EndSend(IAsyncResult ar) public static void EndSend(IAsyncResult ar)
{ {