lkml.org 
[lkml]   [2004]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: select( ) function with socket
       On success, select returns the number  of  descriptors  contained 
in the descriptor sets, which may be zero if the timeout expires before
anything happens. Hence its possible that maybe your timeout os set to zero.

Regards,
Sumesh



ych43 wrote:

>Hi,
> I use select( ) function of socket programming on linux. After this function,
>I try to print the return value of select( ) function out. But there is no
>return value coming out, even no any error out. So I do not know what's wrong
>with this function. If I incorrectly used this function, some errors would
>come out. But no any error comes out. Can anybody help me.
> Thank in advance!
> king regards
>
>
>-
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at http://www.tux.org/lkml/
>
>
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:07    [W:0.658 / U:0.888 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site