public void SendMessage(string roomid, string message) { RgcPacketMessage pck = new RgcPacketMessage(roomid, message); _stream.Write(pck.ToByteArray(), 0, pck.BytesLength()); }