On Mon, Mar 08, 2010 at 09:33:20PM +0100, ольга крыжановская wrote:
> What is the maximum amount of bytes an application can peek ahead on
> pipes and sockets?

For sockets that depends on whether you are dealing with SOCK_DGRAM or
SOCK_STREAM. For dgram you can only peek into a single datagram, while
on stream sockets you can peek into the whole socket buffer (assuming
your are not using urgent data. If you are, then you wont be able to
peek beyond the urgent mark).

    -- Anders
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to