public void StartReceiveAsync() { try { bool willRaiseEvent = ConnectSocket.ReceiveAsync(ReceiveEventArgs); //投递接收请求 if (!willRaiseEvent) { PacketProtocol.ReceiveComplate(null, ReceiveEventArgs); } } catch (Exception e) { loger.Fatal(e); } }
public void StartReceiveAsync() { try { bool willRaiseEvent = ConnectSocket.ReceiveAsync(ReceiveEventArgs); //投递接收请求 if (!willRaiseEvent) { PacketProtocol.ReceiveComplate(null, ReceiveEventArgs); } } catch (Exception e) { loger.Fatal(e); } }