The HTTP server in ICS will handle receiving the whole request before you
handle it.  You can ignore buffering if you are just using the http server
component.

Dan

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Kris Leech
Sent: 03 September 2006 11:38
To: ICS support mailing
Subject: Re: [twsocket] TCP question

With the HTTP Server though you will get the whole HTTP request even if 
it has been split up in to multiple packets at the TCP level?

Markus Humm wrote:

>Hello,
>
>if a client on a LAN sends a packet with e.g. 512 Bytes and TCP splits
>it up internaly to e.g. 4x128 Bytes will the receiver get 4x the
>OnDataAvailable event, or 1x with the whole 512 Byte?
>
>So needs the sender to have a larger buffer to be able to concatenate
>such packets before he can check and process them? if yes, has anybody a
>ringbuffer implementation he would share? Otherwise I'm toying with the
>idea to use a string as buffer so I can add chars and delete some from
>the beginning of the buffer as needed, but I don't know whether memory
>fragmentation is a issue here (D2006 with FastMM).
>
>Greetings
>
>Markus
>  
>


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


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

Reply via email to