Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Aug 18th, 2007, 7:03 PM   #1
antihaxer
Newbie
 
Join Date: Aug 2007
Posts: 18
Rep Power: 0 antihaxer is on a distinguished road
C++ Networking

I want to learn how to use C++ to communicate over networks. I wanted to know where would you suggest I get started. Like which libraries are needed and which books I need and links to tutorials/pdf documents etc.
antihaxer is offline   Reply With Quote
Old Aug 18th, 2007, 9:27 PM   #2
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
I would suggest that you Google for "Beej". Networking is not a part of the language, for obvious reasons. It's strictly implementation dependent. Beej discusses *nix implementations, but his material is very transportable to Windows machines if you check MSDN for sockets stuff.

If you're dealing from scratch, as in an embedded kind of project, you're just going to have to learn things you don't want to spend time on, and do it yourself. The bare microprocessor doesn't know chit. Pray for thousands of lines of code that you can invoke with a couple of lines.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Aug 19th, 2007, 12:36 AM   #3
antihaxer
Newbie
 
Join Date: Aug 2007
Posts: 18
Rep Power: 0 antihaxer is on a distinguished road
Thanks, I will take a look at. Any ideas for good open source projects that use the basics of sockets?
antihaxer is offline   Reply With Quote
Old Aug 19th, 2007, 9:49 PM   #4
Brent
Highly Adaptive Penguin
 
Brent's Avatar
 
Join Date: May 2005
Location: United States
Posts: 252
Rep Power: 4 Brent is on a distinguished road
I have a few programs that I made when I started network programming a while back. They are very basic and easy to follow, I think there is a simple chat program, a TCP server, and something else that I cant remember at the moment. I can give you the code if you would like.
Brent is offline   Reply With Quote
Old Aug 19th, 2007, 9:52 PM   #5
antihaxer
Newbie
 
Join Date: Aug 2007
Posts: 18
Rep Power: 0 antihaxer is on a distinguished road
That would be great. Now that I have looked at wxWidgets though it seems it has it's own networking functions built in. I think I might end up using those.
antihaxer is offline   Reply With Quote
Old Aug 20th, 2007, 10:34 AM   #6
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,473
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
The Beej tutorials on networking are fairly informative... be sure to read them as DaWei has suggested.
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Old Aug 20th, 2007, 10:48 AM   #7
antihaxer
Newbie
 
Join Date: Aug 2007
Posts: 18
Rep Power: 0 antihaxer is on a distinguished road
Yea, I have already read it.
antihaxer is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ms vc++ networking programmingnoob C++ 3 May 20th, 2007 1:59 AM
To Networking GODs and GURUs, Is this possible? thrasherx Project Ideas 4 Oct 31st, 2006 11:00 PM
C++ Networking Question MorphysGhost C++ 5 Apr 22nd, 2006 12:21 PM
java networking tutorials Brent Java 2 Aug 31st, 2005 10:29 AM
Networking in vb.net BrianN Visual Basic 2 Aug 15th, 2005 6:57 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 4:00 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC