Programming with sockets

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Jun 2006
Posts: 1,169
Reputation: Duki has a spectacular aura about Duki has a spectacular aura about Duki has a spectacular aura about 
Solved Threads: 9
Duki's Avatar
Duki Duki is offline Offline
Veteran Poster

Programming with sockets

 
0
  #1
Apr 27th, 2009
I'm going to be working on a summer research project with my college's robotics team. My task is going to be to develop a program to communicate with the robot via 802.11g.

I would really like to stick to straight C++, and if I can't then C# is also an option I would be willing to go with. My question is, does anyone have a suggestion for a good winsock library I could use for this? Maybe something with tutorials also?

Are there built in libraries that I'm not aware of?
Thanks
It is practically impossible to teach good programming style to students that have had prior exposure to Basic; as potential programmers they are mentally mutilated beyond hope of regeneration.

-Edsger Dijkstra
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 792
Reputation: siddhant3s has much to be proud of siddhant3s has much to be proud of siddhant3s has much to be proud of siddhant3s has much to be proud of siddhant3s has much to be proud of siddhant3s has much to be proud of siddhant3s has much to be proud of siddhant3s has much to be proud of siddhant3s has much to be proud of siddhant3s has much to be proud of 
Solved Threads: 135
siddhant3s's Avatar
siddhant3s siddhant3s is offline Offline
Master Poster

Re: Programming with sockets

 
0
  #2
Apr 27th, 2009
Boost's Asio is a good one if you want it platform independent:
http://www.boost.org/doc/libs/1_38_0...oost_asio.html

I have seen more of platform specific libraries which could suit you.
There is an excelent Beej's Tutorial on Sockets with C, but it works with C++ too. You will need to code like a C programmer with no OOP support. He explains it on *nix platform but also guides how it can be done on windows's winsock
http://www.beej.us/guide/bgnet/

I think this will do, but if you intend to learn more, get the "Unix network programming" book.
Siddhant Sanyam
(Not posting much)
Migrate to Standard C++ :When to tell your C++ Code is Non-Standard.
Please Read before posting: How To Ask Questions The Smart Way
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 1,169
Reputation: Duki has a spectacular aura about Duki has a spectacular aura about Duki has a spectacular aura about 
Solved Threads: 9
Duki's Avatar
Duki Duki is offline Offline
Veteran Poster

Re: Programming with sockets

 
0
  #3
Apr 28th, 2009
Awesome. The bot is currently Windows based, but we have plans on migrating to Kubuntu eventually... hopefully next year.

Thanks again.
It is practically impossible to teach good programming style to students that have had prior exposure to Basic; as potential programmers they are mentally mutilated beyond hope of regeneration.

-Edsger Dijkstra
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC