Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Sockets and networking in c++


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
5 replies to this topic

#1 thornx1   Members   -  Reputation: 94

Like
0Likes
Like

Posted 29 November 2012 - 11:48 PM

I am having troubles in finding tutorials on how to program using sockets and networking,

although i have some information on networking it is mostly small tidbits of information, what i am looking for is large tutorials so i can learn everything on the subject instead of getting lost without some pieces i cant find. could someone please help me find some tutorials on each subject?

I have no clue where to search i tried basic google searches like "sockets in c++" or "networking tutorial c++" and variations of them.

Sponsor:

#2 Shannon Barber   Moderators   -  Reputation: 1390

Like
3Likes
Like

Posted 29 November 2012 - 11:55 PM

Loose the C++, "sockets" refers to the BSD socket API and it's in C.
Try 'socket programming tutorial'.

If you really want a C++ design, then have a look at the ACE programming toolkit.
- The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara

#3 Khatharr   Crossbones+   -  Reputation: 3036

Like
1Likes
Like

Posted 30 November 2012 - 12:43 AM

Beej

A tutorial-ish library for WinSock (that I made and posted here)
void hurrrrrrrr() {__asm sub [ebp+4],5;}

There are ten kinds of people in this world: those who understand binary and those who don't.

#4 KingofNoobs   Members   -  Reputation: 301

Like
1Likes
Like

Posted 30 November 2012 - 03:03 AM

If you want a "complete" tutorial, I recommend the 1,500 page "Computer Networks - 5th edition, by Andrew Tanenbaum"

He has a very instructive and circumspect writing style. I don't think you'll get lost.

I wonder as I wander...

http://www.davesgameoflife.com


#5 Splinter of Chaos   Members   -  Reputation: 239

Like
0Likes
Like

Posted 01 December 2012 - 04:30 PM

I haven't done much in this domain, but when I was researching this before, I though zmq was the best option.

BTW: Sockets are old; maybe try googling for C, not C++.

Edited by Splinter of Chaos, 01 December 2012 - 04:32 PM.


#6 pinebanana   Members   -  Reputation: 475

Like
0Likes
Like

Posted 02 December 2012 - 04:59 AM

I don't know why no one has reccomended the boost::asio library.

Edited by pinebanana, 02 December 2012 - 05:00 AM.

anax - An open source C++ entity system





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS