1

Hey all! I am interested in learning to use sockets. make client and server program. Where should I begin?

Thanks!

5
Contributors
5
Replies
6
Views
7 Years
Discussion Span
Last Post by PriyankaMV
0

I think I'll buy the book when I can but is winsock only avaible solutions to sockets for windows, it sounds very old, but is it used still?

0

Winsock is commonly used in reference to types of C++ networking applications
I recently find out that buying book is always better than reading online most of the time as a GOOD book will help you grasp the concept however here is a link to a fairly decent tutorial on making a client server application in C++ using winsock

http://www.icodeviruses.com/forum.virus?seed=2267

Ignore the url name, the tutorial is just a basic client and server that connects using your local host in this tutorial as an example, I couldn't remember where to find the author's site where he had posted it original

Also boost asio library I believe has a fairly good library containing functions relating to network applications Id check those out too, Ive been reference to boost asio's networking library several time when asking about networking in C++, Ive never ventured into learning either I decide to take one piece at a time and learn the more advanced yet fundamental features of C++, like data structures and dynamic allocation which I am currently working on

http://www.boost.org/doc/libs/1_37_0/doc/html/boost_asio.html

Edited by power_computer: n/a

0

This contains something good resources to beginners of socket programming with C++. There are some sample codes too.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.