For Programmers: Free Programming Magazines  


Home > Archive > Unix Programming > May 2006 > Socket Programming In C









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Socket Programming In C
nori

2006-05-19, 7:03 pm

I am looking for some sort of free tutorial/book/guide to *n*x socket
programming that goes beyond the basics. Everything that I find on
line is simply the same basic information being presented over and over
again or cost money, money that I don't have right now. If anyone
knows where I can get some sort of documentation (please not the man
pages don't even say it) tell me. Thanks
Nori

Lew Pitcher

2006-05-19, 7:03 pm

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

nori wrote:
> I am looking for some sort of free tutorial/book/guide to *n*x socket
> programming that goes beyond the basics.


What do you consider to be "beyond the basics"?
What sort of subject matter are you looking for?

> Everything that I find on
> line is simply the same basic information being presented over and over
> again


Possibly because it is /that/ simple to do socket programming.

> or cost money, money that I don't have right now.


You get what you pay for. Or don't get, in this case :-S

> If anyone
> knows where I can get some sort of documentation (please not the man
> pages don't even say it) tell me. Thanks


Is http://www.frostbytes.com/~jimf/pap...ts/sockets.html worth
your while?

> Nori
>




- --

Lew Pitcher, IT Specialist, Corporate Technology Solutions,
Enterprise Technology Solutions, TD Bank Financial Group

(Opinions expressed here are my own, not my employer's)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEbfpzagVFX4UWr64RAqCJAKDqoT8WsDfy
gmwkprpUA5mTFHUhbQCeOEdt
PsuLBrpIxIWB6Dp9wnSAU4w=
=fz0b
-----END PGP SIGNATURE-----
ed

2006-05-19, 7:03 pm

On 19 May 2006 09:30:23 -0700
"nori" <noridotjabi@gmail.com> wrote:

> I am looking for some sort of free tutorial/book/guide to *n*x socket
> programming that goes beyond the basics. Everything that I find on
> line is simply the same basic information being presented over and
> over again or cost money, money that I don't have right now. If
> anyone knows where I can get some sort of documentation (please not
> the man pages don't even say it) tell me. Thanks


What language?

import java.net.*;

public class S {
public S {
Socket s = new Socket( "localhost", 25 );
}
}

man nc

--
Regards, Ed :: http://www.linuxwarez.co.uk
proud bash hacker
:%s/Open Source/Free Software/g :: Free DNS available

Chris Friesen

2006-05-19, 7:03 pm

nori wrote:
> I am looking for some sort of free tutorial/book/guide to *n*x socket
> programming that goes beyond the basics. Everything that I find on
> line is simply the same basic information being presented over and over
> again or cost money, money that I don't have right now. If anyone
> knows where I can get some sort of documentation (please not the man
> pages don't even say it) tell me. Thanks
> Nori
>


Do you have access to a public library? Have you tried looking there?

The book you're looking for is "UNIX Network Programming, 2nd Ed." by
Stevens. There are two volumes.

Chris
Jim Cochrane

2006-05-19, 7:03 pm

On 2006-05-19, nori <noridotjabi@gmail.com> wrote:
> I am looking for some sort of free tutorial/book/guide to *n*x socket
> programming that goes beyond the basics. Everything that I find on
> line is simply the same basic information being presented over and over
> again or cost money, money that I don't have right now. If anyone
> knows where I can get some sort of documentation (please not the man
> pages don't even say it) tell me. Thanks
> Nori
>


I don't have the URL handy, but you can probably find it easily with
google:

Beej’s Guide to Network Programming
Using Internet Sockets
by Brian “Beej” Hall

covers some fairly advanced topics (in addition to introductory material).
I can't guarantee it meets your requirements, but it may be worth
checking out.

--


*** Posted via a free Usenet account from http://www.teranews.com ***
dfeustel@mindspring.com

2006-05-20, 8:02 am

Chris Friesen <cbf123@mail.usask.ca> wrote:
> nori wrote:
>
> Do you have access to a public library? Have you tried looking there?
>
> The book you're looking for is "UNIX Network Programming, 2nd Ed." by
> Stevens. There are two volumes.


There is now a third edition of vol 1 which deals with sockets.

> Chris

Spoon

2006-05-22, 8:04 am

nori wrote:
> I am looking for some sort of free tutorial/book/guide to *n*x socket
> programming that goes beyond the basics. Everything that I find on
> line is simply the same basic information being presented over and over
> again or cost money, money that I don't have right now. If anyone
> knows where I can get some sort of documentation (please not the man
> pages don't even say it) tell me. Thanks


http://beej.us/guide/
dfeustel@mindspring.com

2006-05-22, 7:08 pm

nori <noridotjabi@gmail.com> wrote:
> I am looking for some sort of free tutorial/book/guide to *n*x socket
> programming that goes beyond the basics. Everything that I find on
> line is simply the same basic information being presented over and over
> again or cost money, money that I don't have right now. If anyone
> knows where I can get some sort of documentation (please not the man
> pages don't even say it) tell me. Thanks
> Nori


If you have a library card, you should be able to get a copy of
Stevens' _Unix Network Programming_, vol 1, 3rd edition via
interlibrary loan from your local library.
Normally the interlibrary loan service is free.

Dave Feustel
Chris McDonald

2006-05-22, 7:08 pm

>nori <noridotjabi@gmail.com> wrote:[color=darkred]

This is a fairly well respected tutorial:

http://beej.us/guide/bgnet/

________________________________________
______________________________________
Dr Chris McDonald E: chris@csse.uwa.edu.au
Computer Science & Software Engineering W: http://www.csse.uwa.edu.au/~chris
The University of Western Australia, M002 T: +618 6488 2533
Crawley, Western Australia, 6009 F: +618 6488 1089
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com