// sets the receive buffer data
 public static void SetSendBufferData(byte[] data, bool deleteOldData = false)
 {
     client.SetSendBufferData(data, deleteOldData);
 }