Hi,

If O_NONBLOCK is not  set  on the socket's file descriptor,
recvfrom() blocks until a message arrives.  If no messages  are
available  at  the  socket  and  O_NONBLOCK  is  set  on
the socket's file descriptor, recvfrom() fails and sets errno to EAGAIN.

But how to set 0_NONBLOCK on the socket's file descriptor?

Yours
Zhu Ming
                  
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to