// sets the receive buffer size
 public static void SetReceiveBufferSize(int size)
 {
     client.SetReceiveBufferSize(size);
 }