Read file into Buf and send over TCP

    Jun 20 2013 | 7:42 pm
    Im wondering is there any way I can send an xml file over TCP, by reading the file into buf (buffer)? A rather Large one.
    Ive tried using mxj tcpClient , but I cant seem to get it to send more than a few chars at a time.
    Im on 64bit here, so hoping any solutions will be compatible.

    • Jun 20 2013 | 11:11 pm
      You may give a shot to [sadam.tcpSender] and [sadam.tcpReceiver] from The sadam Library, see . In fact, if it's really long data, I suggest you to compress it first with [sadam.lzo] (it's in the same library). The help file actually contains an example on how to send compressed data over TCP, if I remember well (I made it quite a few years ago).
      Hope that helps,
    • Jun 21 2013 | 12:43 am
      Hi Adam,
      Unfortunately, 64 bit is a requirement for this project. I cant see any mxe64 files in the sadam releases :(