public void Close(int socketID) { if (ConnSockets.ContainsKey(socketID)) { NSocket nSocket = ConnSockets[socketID]; nSocket.Close(); } }