Exemple #1
0
 public void Send(int remoteID, object sendObj, TOPBYTE topbyte)
 {
     byte[] sendBytes = VisionFunctions.Serialize(sendObj);
     sendBytes = VisionFunctions.SetTopByte(sendBytes, (byte)topbyte);
     try
     {
         Send(remoteID, sendBytes);
     }
     catch (Exception ex)
     {
         Program.fm1.Chat_Add(ex.Message);
     }
 }