Solved

Client Server Source Resource

Posted on 2002-03-29
5
189 Views
Last Modified: 2013-12-05
Can anyone give me info about a resource (book, website, etc.) where I might be able to find a listing of C code for basic clients and servers for popular internet protocols (HTTP, FTP, SMTP, POP3, etc) and an explanation (optional). I don't need a resource on network programming. I understand that. I just am interested in seeing how the popular internet protocols are implemented using sockets on the client and server side.
(UNIX [BSD] Sockets, not Windows Sockets)
0
Comment
Question by:zxcvzxcv
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 32

Expert Comment

by:jhance
ID: 6905050
Have you looked at any of the fine Linux distributions?  They all include full source code for the tool and utilities that both implement and use all of these protocols.

Another good place to start would be with the various RFCs for these protocols.

See:

http://www.cis.ohio-state.edu/cs/Services/rfc/rfc-text/rfc-index.txt

and:

http://www.cis.ohio-state.edu/cs/Services/rfc/rfc-text/
0
 
LVL 1

Author Comment

by:zxcvzxcv
ID: 6907742
I don't really have access to any Linux source at the moment. Is there a place where I could obtain some of the code for the clients/servers (if that is associated with a Linux distro that's fine, however I'd like to either get a book or a website where I can get the code without downloading a whole distro of Linux). I've read through the RFCs and I'd like to see the code to understand how they implemented them in C.
0
 
LVL 11

Accepted Solution

by:
griessh earned 100 total points
ID: 6916137
zxcvzxcv

Without being able to point you to a special file, http://www.freebsd.org/ports/index.html has a tremendous collection of ports to unix. You will get the sources for all the apps, you have to dig a bit what is of interest for you ...

======
Werner
0
 
LVL 32

Expert Comment

by:jhance
ID: 6916154
>>I don't really have access to any Linux source at the moment.

Why not?  If you have access to Experts-Exchange you must have internet access.  If you have internet access you can download any of several dozen linux distributions.

0
 
LVL 1

Author Comment

by:zxcvzxcv
ID: 6917267
griessh: i'm checking that out
jhance: read the rest of my comment. I was looking for a resource like griessh povided.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
The goal of this video is to provide viewers with basic examples to understand and use structures in the C programming language.
The goal of this video is to provide viewers with basic examples to understand how to create, access, and change arrays in the C programming language.

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question