private void TcpServer_MessageReceivedEvent(object sender, SocketEventArgs e) { Console.WriteLine($"{e.RemoteIpAddress}({e.Port}):{e.MessageBuffer}"); e.Dispose(); }
public void Dispose() { lock (_mutex) { SocketEventArgs.Dispose(); } }