public void StopServer() { try { _serverSocket.Close(); } catch (Exception ex) { throw ex; } }
public void StopServer() { try { _serverSocket.Close(); } catch (Exception ex) { if (SocketError != null) { SocketError(ex); } } }