Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

select() timeout problem in Linux

24 views
Skip to first unread message

Teju

unread,
May 26, 2009, 10:43:34 AM5/26/09
to tejesh...@lntemsys.com
Hi,

I am using the socket's select() function in Linux but i am facing a
problem i.e. in the timeout condition (if server is not present to
connect) then select() function has to return zero (as per man
description) but select() will not return zero (it will not wait to
get timeout and always return non zero value not as a error). But if i
test same thing in Windows then select() will return zero in timeout
condition...

can anyone tell me is there any problem with select() function in
Linux ??

0 new messages