| To: | Ben Greear <greearb@xxxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: select says I can read, but recvfrom hangs |
| From: | "D. Hugh Redelmeier" <hugh@xxxxxxxxxx> |
| Date: | Thu, 21 Jun 2001 11:31:49 -0400 (EDT) |
| Cc: | <netdev@xxxxxxxxxxx> |
| In-reply-to: | <3B316655.75927BF8@candelatech.com> |
| Reply-to: | <hugh@xxxxxxxxxx> |
| Sender: | owner-netdev@xxxxxxxxxxx |
On Wed, 20 Jun 2001, Ben Greear wrote: | From: Ben Greear <greearb@xxxxxxxxxxxxxxx> | Make your socket O_NONBLOCKing, and you don't have to worry about that | kind of thing (just be sure you handle all the error cases, ie read | no data) correctly. | | I always just consider select() a hint, not the Truth :) Of course that is a way to work arround a bug (if that is what I'm seeing), but it should not be necessary. The specs for select say nothing about it being just a hint. Hugh Redelmeier hugh@xxxxxxxxxx voice: +1 416 482-8253 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: user's wishlist on ipv6 module, Chris Wedgwood |
|---|---|
| Next by Date: | Re: select says I can read, but recvfrom hangs, Andi Kleen |
| Previous by Thread: | Re: select says I can read, but recvfrom hangs, Ben Greear |
| Next by Thread: | Re: select says I can read, but recvfrom hangs, Andi Kleen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |