943,712 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 470
  • C++ RSS
Apr 27th, 2009
0

Programming with sockets

Expand Post »
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
Similar Threads
Reputation Points: 817
Solved Threads: 32
Nearly a Posting Virtuoso
Duki is offline Offline
1,474 posts
since Jun 2006
Apr 27th, 2009
0

Re: Programming with sockets

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.
Reputation Points: 1486
Solved Threads: 140
Practically a Posting Shark
siddhant3s is offline Offline
816 posts
since Oct 2007
Apr 28th, 2009
0

Re: Programming with sockets

Awesome. The bot is currently Windows based, but we have plans on migrating to Kubuntu eventually... hopefully next year.

Thanks again.
Reputation Points: 817
Solved Threads: 32
Nearly a Posting Virtuoso
Duki is offline Offline
1,474 posts
since Jun 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: using string.find with ifs
Next Thread in C++ Forum Timeline: Need help in C++ with how arguments will pass to this function





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC