void OnReceive(SocketAsyncEventArgs args, byte[] content, int size) { receive_str = System.Text.Encoding.UTF8.GetString(content, 0, 100); RoomMsgReply.ProcessMsg(args, content, size); }
void OnReceiveMsg(byte[] data) { RoomMsgReply.ProcessMsg(data, data.Length); }