From: Sumesh <sumesh_kumar@persistent.co.in>
To: ych43 <ych43@student.canterbury.ac.nz>
Cc: linux-kernel@vger.kernel.org
Subject: Re: select( ) function with socket
Date: Tue, 09 Nov 2004 12:14:42 +0530 [thread overview]
Message-ID: <4190675A.70606@persistent.co.in> (raw)
In-Reply-To: <418CC3ED@webmail>
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/
>
>
>
prev parent reply other threads:[~2004-11-09 6:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-09 6:19 select( ) function with socket ych43
2004-11-09 6:44 ` Sumesh [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4190675A.70606@persistent.co.in \
--to=sumesh_kumar@persistent.co.in \
--cc=linux-kernel@vger.kernel.org \
--cc=ych43@student.canterbury.ac.nz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox