john green <[EMAIL PROTECTED]> wrote:
> need to get on with tcp/ip programming and sockets etc.
> pease suggest me some sample codes etc to start with so that i can
> gain a good understanding of c as well as tcp/ip programmin.
> my background--- firm understaniding of tcp/ip,networking.
> exposure to basic OS 's NT,linux,solaris and hp-unix.
The section entitled `Sockets' in the libc info file contains a
reasonable amount of detail. There is also the socket FAQ at
http://www.landfield.com/faqs/unix-faq/socket.
The book:
Unix Network Programming
W. Richard Stevens
Prentice Hall, Inc.
ISBN 0-13-949876-1
seems to be quite popular.
Also, the source code to the `sock' program, used in the book `TCP/IP
Illustrated' (also by Stevens) should provide a useful example of the
basics of socket programming. It is available from:
ftp://ftp.uu.net/published/books/stevens.tcpipiv1.tar.Z
--
Glynn Clements <[EMAIL PROTECTED]>