public void Send(MessageBase m) { var bytes = m.Send(); client.GetStream().Write(bytes, 0, bytes.Length); }