Socket Programming

Posted on 2003-02-28
Medium Priority
Last Modified: 2010-04-01
Ok, I Need to know how to handle Sockets.

Does someone have a GOOD Tutorial or some Book Tips for me??

Or someone how can take the tive and showing some examples...

Im going to expand my game with a Network Game Function...
I have never programmed Sockets before, I Dont know why. :o)

Tanks Snurre!
Question by:Snurre
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
LVL 11

Accepted Solution

bcladd earned 60 total points
ID: 8046201
Internetworking with TCP/IP Vol.1: Principles, Protocols, and Architecture (4th Edition)
by Douglas Comer

I don't recall how tutorial his work was but that is where I got the example programs I started with. If you know any Perl you might want to play with sockets there, first, because the exposed interface is similar to C/C++ and the perlipc man page is amazingly filled with details. That is where most of my students start.

Many people will tell you that you should start at a higher level than sockets. Socket programming is the assembly language of distributed systems. There are several books out there on Network Programming Frameworks (I am not sure any are really worth reading but they present interesting libraries).

A Unix-centric explanation with source code in C can be found at http://www.uwo.ca/its/doc/courses/notes/socket/.

Good luck, -bcl

Author Comment

ID: 8078435
It's a good tut, but it's not the specific type I was looking for, but Tanks anyway

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

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
Suggested Courses

770 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