public void OnErrorRestore() { Close(false); _listener.OnMessageReceived(null, 0, SocketError.NotConnected, new IPEndPoint(0, 0)); }