<<On Tue, 13 Mar 2001 16:43:26 -0800, Lars Eggert <[EMAIL PROTECTED]> said:

> I'm considering changing this, so that a select-to-write on a UDP socket
> will block until queue space becomes available.

Impossible.  The only way to find out whether a packet (or set of
packets, or a fragment of a packet) would be successfully enqueued is
to try it.  Even then there's no guarantee that it will get sent.

(Actually, ``impossible'' is too strong -- we could restructure the
entire network stack to make it possible to speculatively send packets
just to support this change in select() semantics.  It's merely
impractical.)

-GAWollman


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to