Socket Programming

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

Post Reply
User avatar
Bludklok
Chaos Rift Junior
Chaos Rift Junior
Posts: 241
Joined: Tue Apr 14, 2009 1:31 am
Current Project: EnigmaCore
Favorite Gaming Platforms: PC, N64, Playstation1, Playstation2
Programming Language of Choice: C++
Location: New Jersey
Contact:

Socket Programming

Post by Bludklok »

I'm starting to take interest in socket programming and maybe see what I can accomplish with it. If anyone here has had experience as a socket programmer or is currently learning sockets rate the difficulty on a scale of 1 - 10 for me. And if anyone has good socket tutorials they would like to recommend by all means tell me. It would be highly appreciated. :bow:
Youtube
Website
Current project: Enigma Core
User avatar
Joeyotrevor
Chaos Rift Cool Newbie
Chaos Rift Cool Newbie
Posts: 62
Joined: Thu Jan 22, 2009 6:24 pm
Programming Language of Choice: C++

Re: Socket Programming

Post by Joeyotrevor »

I think it's pretty easy once you get the hang of it. First thing I did when I learned it was make Server/Client classes and it has turned out to be really useful.

Code: Select all

eb 0c 48 65 6c 6c 6f 20 77 6f 72 6c 64 21 31 d2 8e c2 30 ff b3 0a bd 02 7c b9 0b 00 b8 00 13 cd 10 eb fe
andrew
Chaos Rift Regular
Chaos Rift Regular
Posts: 121
Joined: Mon Dec 08, 2008 2:12 pm

Re: Socket Programming

Post by andrew »

good socket tutorials
Beej's Guide to Network Programming Using Internet Sockets
This is probably what you want. You can read what some people have said about it here.
User avatar
Bludklok
Chaos Rift Junior
Chaos Rift Junior
Posts: 241
Joined: Tue Apr 14, 2009 1:31 am
Current Project: EnigmaCore
Favorite Gaming Platforms: PC, N64, Playstation1, Playstation2
Programming Language of Choice: C++
Location: New Jersey
Contact:

Re: Socket Programming

Post by Bludklok »

andrew wrote:
good socket tutorials
Beej's Guide to Network Programming Using Internet Sockets
This is probably what you want. You can read what some people have said about it here.
That is actually the one I've been reading for the past 30+ mins. Thanks for posting though. :D
Youtube
Website
Current project: Enigma Core
User avatar
RyanPridgeon
Chaos Rift Maniac
Chaos Rift Maniac
Posts: 447
Joined: Sun Sep 21, 2008 1:34 pm
Current Project: "Triangle"
Favorite Gaming Platforms: PC
Programming Language of Choice: C/C++
Location: UK
Contact:

Re: Socket Programming

Post by RyanPridgeon »

http://www.cs.rpi.edu/~hollingd/netprog ... dp/udp.pdf

http://www.cs.rpi.edu/~hollingd/netprog ... cpsock.pdf

Very helpful, but wont teach you everything. However they're good for giving the general idea of how to use sockets properly.
Ryan Pridgeon
C, C++, C#, Java, ActionScript 3, HaXe, PHP, VB.Net, Pascal
Music | Blog
User avatar
Bludklok
Chaos Rift Junior
Chaos Rift Junior
Posts: 241
Joined: Tue Apr 14, 2009 1:31 am
Current Project: EnigmaCore
Favorite Gaming Platforms: PC, N64, Playstation1, Playstation2
Programming Language of Choice: C++
Location: New Jersey
Contact:

Re: Socket Programming

Post by Bludklok »

RyanPridgeon wrote:http://www.cs.rpi.edu/~hollingd/netprog ... dp/udp.pdf

http://www.cs.rpi.edu/~hollingd/netprog ... cpsock.pdf

Very helpful, but wont teach you everything. However they're good for giving the general idea of how to use sockets properly.
Thanks for posting them. ;)
Youtube
Website
Current project: Enigma Core
User avatar
Moosader
Game Developer
Game Developer
Posts: 1081
Joined: Wed May 07, 2008 12:29 am
Current Project: Find out at: http://www.youtube.com/coderrach
Favorite Gaming Platforms: PC, NES, SNES, PS2, PS1, DS, PSP, X360, WII
Programming Language of Choice: C++
Location: Kansas City
Contact:

Re: Socket Programming

Post by Moosader »

This may or may not help... I intend to look over the lecture notes when I have time.
One of my teachers has a Client / Server programming class.

http://www1.sce.umkc.edu/~cotterr/cs423 ... _fs09.html
Post Reply