Problem with socketpair , AF_UNIX and select call - can anybody through any light on this!

Howard Wilkinson howard at cohtech.com
Fri Oct 12 09:21:00 UTC 2007


Andy Green wrote:
> Somebody in the thread at some point said:
>
>   
>>     FD_ZERO(rfd);
>>     FD_SET(fd[0], rfd);
>>     if (FD_ISSET(fd[0], rfd)) {
>>     
>
> Dunno how you managed to compile that.  You need to use &rfd in these
> places.
>
> -Andy
>
>   
Opps, you are right hand driven transcription error!! The code is in a 
subroutine passed pointers to fd_set's ... :-[

-- 

Howard Wilkinson

	

Phone:

	

+44(20)76907075

Coherent Technology Limited

	

Fax:

	

 

23 Northampton Square,

	

Mobile:

	

+44(7980)639379

United Kingdom, EC1V 0HL

	

Email:

	

howard at cohtech.com

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20071012/3b9e57c5/attachment-0001.htm>


More information about the fedora-list mailing list