Client Server Source Resource

Posted on 2002-03-29
Medium Priority
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)
Question by:zxcvzxcv
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
LVL 32

Expert Comment

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.





Author Comment

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.
LVL 11

Accepted Solution

griessh earned 400 total points
ID: 6916137

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 ...

LVL 32

Expert Comment

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.


Author Comment

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

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

Preface I don't like visual development tools that are supposed to write a program for me. Even if it is Xcode and I can use Interface Builder. Yes, it is a perfect tool and has helped me a lot, mainly, in the beginning, when my programs were small…
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 goal of this video is to provide viewers with basic examples to understand opening and writing to files 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.
Suggested Courses

718 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