On Thu, 13 Oct 2005 10:27:05 +0200, TF wrote:
> Hello,
> I have to do a program (C language) which :
>
> READ socket if nothing to be read then go to
> WRITE sochet if nothing to be wrote then go to READ
> in a while(1 loop.
click up a terminal and do a
man 2 read
man 2 write
If you look at the bottom of man pages you might see somethhing like
SEE ALSO
accept(2), bind(2), connect(2), fcntl(2), getpeername(2), getsock-
which indicates you may find more information by doing something like
man 2 connect.
Want to find code examples.
Please bookmark the following, very large,
Frequently Asked Questions (faq) Search engine:
http://groups.google.com/advanced_group_search
key word(s) in the first box
*linux* in Newsgroup box. You need to use the two
asterisks around linux, pick English
If you want/need more control over the first box search,
http://www.google.com/help/refinesearch.html