Messages in this thread | | | Date | Thu, 19 Feb 2004 08:34:17 +0000 (GMT) | From | Paul Jakma <> | Subject | Re: raw sockets and blocking |
| |
On Thu, 19 Feb 2004, Jamie Lokier wrote:
> I hate to check the obvious, but did you try setting the O_NONBLOCK > flag for the socket? Did you try setting the MSG_DONTWAIT flag for > the sendmsg operation?
We're select() driven, so the problem is not that the process literally blocks and sleeps, its that the socket never becomes ready to write again.
> -- Jamie
regards, -- Paul Jakma paul@clubi.ie paul@jakma.org Key ID: 64A2FF6A warning: do not ever send email to spam@dishone.st Fortune: Assembly language experience is [important] for the maturity and understanding of how computers work that it provides. -- D. Gries - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |