Read file into Buf and send over TCP
Hi,
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.
Cheers
n
You may give a shot to [sadam.tcpSender]
and [sadam.tcpReceiver]
from The sadam Library, see https://cycling74.com/forums/announce-the-sadam-library-version-2012-10-08 . 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,
Ádám
Hi Adam,
Unfortunately, 64 bit is a requirement for this project. I cant see any mxe64 files in the sadam releases :(