lkml.org 
[lkml]   [2000]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
> Dear Helpers:
>
> This is a question from a Linux idiot. Please bear with me. I have brought
> up a PC running Linux 6.2. I need to develop a simple C program using
> TCP/IP protocol (socket interface) to talk to another PC on the network. I
> need some help in getting the necessary documentation and sample code about
> socket interface to write such program. Any input will be appreciated.

Try to look for Advanced programming in the UNIX environment from
W.Richard.Stevens, with ISBN 0-201-56317-7. And for more advanced info look for
UNIX System V Network programming from Stephen A. Rago with ISBN 0-201-56318-5.

Anyhow for quick and easy start with sockets , try to look at this tutorial:
http://ftp.std.com/homepages/jimf/sockets.html

> man 2 socket
> man 2 bind
> man 2 connect
> man 2 listen
> man 2 send
> man 2 recv

This will help you lot while reading tutorial.
Good Luck :)

Andrej
--
/* Andrej Hosna - http://people.ibl.sk/adino - +421 903 852 696 */
/* IBL Software Engineering - http://www.ibl.sk - +421 7 43427214 */

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.030 / U:3.796 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site