Re: Repost: OpenTransport problems under X [solved]
Re: Repost: OpenTransport problems under X [solved]
- Subject: Re: Repost: OpenTransport problems under X [solved]
- From: Marc Epard <email@hidden>
- Date: Thu, 27 Nov 2003 11:06:28 -0600
on 11/27/03 10:38 AM, Marc Stibane wrote:
>
>> ret = select(1,&rfds,NULL,NULL,&tv);
>
>
>
> Shouldn't the first argument be skt+1?
>
>
I use only 1 socket and stuff that into the set:
>
>
FD_ZERO(&rfds);
>
FD_SET(skt,&rfds);
>
>
IMHO I tell select to check for 1 set member.
Give it a try. You might change your opinion.
-Marc
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.