Re: (MOT) select(...) and udp

From: Glynn Clements (glynn@sensei.co.uk)
Date: Thu Feb 24 2000 - 05:28:27 EST


Jarmo Paavilainen wrote:

> Is it possible to use select(...) with udp (datagram) socket (unconnected
> socket).

Yes.

> When I try select(...) always returns 0 (timed out).

Are the FD_SETs correct? Is the first argument to select() at least
one more than the highest-numbered descriptor in the FD_SETs?

-- 
Glynn Clements <glynn@sensei.co.uk>

- To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.rutgers.edu



This archive was generated by hypermail 2b29 : Tue Feb 29 2000 - 21:00:26 EST