Re: Problem with socketpair , AF_UNIX and select call - can anybody through any light on this!
- From: Andy Green <andy@xxxxxxxxxxx>
- Date: Fri, 12 Oct 2007 11:29:26 +0100
Somebody in the thread at some point said:
The SOCK_DGRAM is because I have small packets flowing that I do not
want fragmented but do not mind if they get lost, .... but then inside a
machine that does not matter. However with SOCK_STREAM I get zero length
messages but still ready to read continuously!!! See attached!
Why don't you try removing the O_NONBLOCK since you test with select...
fcntl(fd[0], F_SETFL, fcntl(fd[0], F_GETFL, 0) | O_NONBLOCK);
fcntl(fd[1], F_SETFL, fcntl(fd[1], F_GETFL, 0) | O_NONBLOCK);
-Andy
--
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
- Re: Problem with socketpair , AF_UNIX and select call - can anybody through any light on this!
- From: Gordon Messmer
- Re: Problem with socketpair , AF_UNIX and select call - can anybody through any light on this!
- From: Howard Wilkinson
- Re: Problem with socketpair , AF_UNIX and select call - can anybody through any light on this!
- From: Stephen Croll
- Re: Problem with socketpair , AF_UNIX and select call - can anybody through any light on this!
- From: Howard Wilkinson
- Re: Problem with socketpair , AF_UNIX and select call - can anybody through any light on this!
- From: Luciano Rocha
- Re: 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: Re: Problem with socketpair , AF_UNIX and select call - can anybody through any light on this!
- Next by Date: Re: Problem with socketpair , AF_UNIX and select call - can anybody through any light on this!
- Previous by thread: Re: 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):
Relevant Pages
|