Jump to content

View more

Image of the Day

雑魚は多めにして、爽快感重視にしつつ・・・(´・ω・`)
早いとこ、ベースを作って、完成にもっていかないとね。
タイトルもまだ迷ってるだよなぁ。 
#indiedev  #indiegame #screenshotsaturday https://t.co/IwVbswGrhe
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Sockets and networking in c++

4: Adsense

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   

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.

#2 Shannon Barber   Moderators   

1674
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   Members   

8639
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   

305
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   

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   

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