Re: Anyone know why the linux select() function is broken?
From: Alvin Beach (reply_to_at_the_newsgroup.please)
Date: 03/30/05
- Next message: xxx_at_hotmail.com: "Re: how to write() a double"
- Previous message: baumann.Pan_at_gmail.com: "Re: Anyone know why the linux select() function is broken?"
- In reply to: baumann.Pan_at_gmail.com: "Anyone know why the linux select() function is broken?"
- Next in thread: Grant Edwards: "Re: Anyone know why the linux select() function is broken?"
- Reply: Grant Edwards: "Re: Anyone know why the linux select() function is broken?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 30 Mar 2005 02:38:08 GMT
baumann.Pan@gmail.com 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(192.168.0.10:3233), 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.
Alvin
- Next message: xxx_at_hotmail.com: "Re: how to write() a double"
- Previous message: baumann.Pan_at_gmail.com: "Re: Anyone know why the linux select() function is broken?"
- In reply to: baumann.Pan_at_gmail.com: "Anyone know why the linux select() function is broken?"
- Next in thread: Grant Edwards: "Re: Anyone know why the linux select() function is broken?"
- Reply: Grant Edwards: "Re: Anyone know why the linux select() function is broken?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|