Ejemplo n.º 1
0
 /// <summary>
 /// Send a message to the server. At the beginning of the message, there are 4 bytes to
 /// identify the message length
 /// </summary>
 /// <param name="msg"></param>
 private static void SendMessage(Message msg)
 {
     RTFClientStartCmd.ClientSocket.Send(MessageHelper.AddHeader(Message.ToBytes(msg)));
 }