Jivin Marcio Campos de Lima lays it down ...
> DAvid
> 
> Sorry to send this message directly to you but I don“t know why I cannot 
> post in the list anymore and I have this urgent question to put in the 
> list. Could you do it for me ?

Have CC'd it to the list in case someone can help.  Perhaps you need to
re-subscribe.  I get kicked off the list regularly,  keep an eye on it :-)

> To: uclinux-dev@uclinux.org
> Reply-To: [EMAIL PROTECTED]
> Subject: Socket Select function is not working properly 
> 
> I'm developing an application in uClinux (2.4) that uses the select
> socket function to wait for a message arrives on the socket or time-out.
> The function ALWAYS returns TIME-OUT even if a message arrive in the socket.

Make sure your first parameter to select is 1 greater than the highest
fd you are selecting on.  If you are only selecting on one fd then:

        rc = select(fd + 1, ....);

> Does anybody have faced such a problem ? Any clue on how to solve it ?

Otherwise send some code showing the problem,

Cheers,
Davidm

-- 
David McCullough,  [EMAIL PROTECTED],   Ph:+61 734352815
Secure Computing - SnapGear  http://www.uCdot.org http://www.cyberguard.com
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to