public void Send(int socketID, int main_id, int sub_id, byte[] data, Action <Hashtable> callback = null, Hashtable hashtable = null) { if (!ConnSockets.ContainsKey(socketID)) { return; } NSocket nSocket = ConnSockets[socketID]; nSocket.SendAsync((ushort)main_id, (ushort)sub_id, data, callback, hashtable); }