public void SendMessage(int socketid, byte[] bytes) { byte[] msgBytes = Crypto.EncryptBytes(bytes); /*var sentBytes = */ connections[socketid].socket.Send(msgBytes); }