Click to See Complete Forum and Search --> : TCP/IP tutorials/resources?


Larkfellow
11-14-2000, 01:30 PM
I'm wondering what type of resources (maybe libs?) come with Linux (specificly RH6.1 and Helix Gnome) for TPC/IP programming. Maybe even something with a tutorial/examples with it? I'm just looking for more basic stuff right now, something like, oh lets say a mail client. Thanks for any info you can provide.

Larkfellow

Strike
11-14-2000, 02:22 PM
You probably want to learn about sockets first. Search around this forum for sockets stuff and there is PLENTY. Internet sockets are what C uses to establish TCP streams from one host to another, so you'll need to learn that first. In fact, start simpler - try a simple chat client or echo server or something like that.

Larkfellow
11-14-2000, 03:04 PM
Originally posted by Strike:
You probably want to learn about sockets first.
...
In fact, start simpler - try a simple chat client or echo server or something like that.

Yes, I realized later, after looking at another post on sockets, that is what I need to start with. And I did get that one page that was referanced as a tutorial on another post.
And as for something "simple" I had been under the impression that a mail client was one of the more simpler ones of TCP/IP... and since you mentioned it anyways, what exactly is an echo server? heh. But thanks for the suggestions.

Strike
11-14-2000, 09:48 PM
An echo server is pretty much what it sounds like. It sits and accepts connections and then sends back everything it gets sent to it. So, if I were to connect to an echo server and type "hello", I would get a "hello" back.

A mail client can't be any easier than that http://www.linuxnewbie.org/ubb/smile.gif Besides, if you want to create a mail client that actually complies with Internet standards, you have to create one that will do either POP3 or IMAP or SMTP protocols, I believe. Not sure, though, as I've never bothered to create one.

flynnwallace
11-14-2000, 10:38 PM
I plan to work on socket programming myself and found a book at the bookstore Linux Socket Programming by Example. The publisher is Que. I had a chance to browse it and it seems to be pretty good. Hell its the only book of its kind for linux that I know of.

Flynn

aph3x
11-15-2000, 04:59 AM
finally, after weeks of waiting for someone to return it, my university library got Unix Network Programming vol 1by Richard Stevens. read chapter one tonight and i dig it so far.

starts off very simple and seems to progress to much more complicated stuff. as a matter of fact, the first socket created was almost as easy a the echo, it was a time-of-day client.

from what ive seen and heard about Richard Stevens' books, i would highly recommend any of them. http://www.linuxnewbie.org/ubb/biggrin.gif

Glaurung
11-15-2000, 04:31 PM
Yeah, "Unix network programming" is the only networking book you'll _ever_ need...

LloydM
11-16-2000, 03:43 AM
Yeah, "Unix network programming" is the only networking book you'll _ever_ need...


His other book TCP/IP Illustrated is also a *very* good book. I would recommend any of Richard Steven's books, they are truly good books. Steven was one my favorite Technical authors.

Larkfellow
11-16-2000, 07:34 PM
See I have a problem with getting books as there are no good book stores around here. And the university library is pretty empty when it comes to tech. books like that. And I don't to the on-line shopping thing. In fact I don't do the credit card thing. Anywho... I'll see what I can manage for now.