Re: Problem with socketpair , AF_UNIX and select call - can anybody through any light on this!
- From: Gordon Messmer <yinyang@xxxxxxxxx>
- Date: Fri, 12 Oct 2007 01:36:55 -0700
Howard Wilkinson wrote:
I wanted to add a socketpair connection from the master process to the servers which implement the actual functionality. I created the socketpair, set both ends non-blocking and added it to the select set of fd's. I get an immediate return saying that the socket is ready to read but when I issue a recv I get -1 (EAGAIN). Nothing I have tried sets the required behaviour of only returning when there is 'real' data to read.
You're probably better off asking on a Posix programming list than here. Wherever you ask, though, you should post the code in question, or code that demonstrates the problem in a state that can be compiled and verified by others. While you've described what you think you've done, you haven't given enough information for us to do anything but guess at the problem.
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
- Follow-Ups:
- References:
- Problem with socketpair , AF_UNIX and select call - can anybody through any light on this!
- From: Howard Wilkinson
- Problem with socketpair , AF_UNIX and select call - can anybody through any light on this!
- Prev by Date: Problem with socketpair , AF_UNIX and select call - can anybody through any light on this!
- Next by Date: Duplicating a F7 installation.
- Previous by thread: Problem with socketpair , AF_UNIX and select call - can anybody through any light on this!
- Next by thread: Re: Problem with socketpair , AF_UNIX and select call - can anybody through any light on this!
- Index(es):