Re: Anyone know why the linux select() function is broken?

From: Alvin Beach (reply_to_at_the_newsgroup.please)
Date: 03/30/05

Date: Wed, 30 Mar 2005 02:38:08 GMT wrote:

> I am in the trouble that when select func timeout once, it will timeout
> next time.
> 1, I sent a packet to a LAN server A(, select works
> ok.
> 2, I sent a packet to a virtual lan server B(no this ip in lan:2323),
> select timeout, it's correct in this case, but
> 3, I sent a packet to the LAN A, and etherpeek also captures the
> response packet, but select timeout failed.
> why? how can I resolve it? thanks any advice.

Just out of curiosity, try using TCP instead of UDP. See if you notice the
same problem.