Example #1
0
 /// <summary>
 /// Closing the connection with the client and specifying the reason (it is possible to close the connection without informing the client that the connection is closed)
 /// </summary>
 /// <param name="guid">client GUID</param>
 /// <param name="send_disconnect_notification">Tell the client that the server is closing the connection</param>
 public void CloseConnection(ulong guid, bool send_disconnect_notification = true)
 {
     peer.CloseConnection(guid, send_disconnect_notification);
 }