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?

Kostas

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;
boundary="----=_SW_27372_1458838674_mpa="
xxxx
------=_SW_27372_1458838674_mpa=

Angus


--
---------------------------------
Mit den besten Grüßen aus Dachau
Kostas Rizoudis
kos...@rizoudis.de


Rizoudis Individualsoftware
und Verfahrenstechnik GmbH
Karl-Benz Strasse 5b
85221 Dachau
Telefon: +49 8131 90747-0
Telefax: +49 8131 90747-20
Email: p...@rizoudis.de

Amtsgericht München: HRB 154237
Geschäftsführer: Konstantinos Rizoudis
Sitz: Dachau

--
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