Hi Wilfried,

very interesting, i can not retrieve the File Server1.zip over Http://www.mestdagh.biz/ics/
HTTP Error 403. Can you send me this example?

Regards, Kostas

Am 26.03.2016 um 10:12 schrieb Wilfried Mestdagh:

Then you receive until you have at least 4 bytes. Then you have the length. Then concatenate all received packages until you have flull length.

I think Server1.zip or sendFile.zip demonstrates that on my site http://wilfried.mestdagh.biz

Rgds, Wilfried

Met vriendelijke groeten,
Wilfried Mestdagh

Op 26-03-16 om 09:45 schreef Kostas Rizoudis:
Sorry for the mistake Angus,

The first four bytes in the package give the length.
The packet length is variable.
There is an example of how such a package can be received?


Am 25.03.2016 um 19:23 schrieb Angus Robertson - Magenta Systems Ltd:
How can I receive a stream of TWSocketServer with unknown length?
There is only one stream is sent.
You just keep receiving the stream until the connection closes, or you
detect some pre-arranged termination string in the stream, that's how
MIME email works, with separators:

Content-Type: multipart/alternative;


To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to