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

Thanks!

Recommended Answers

Purchase a good book. I suggest Network Programming for Microsoft Windows by Anthony Jones. It is a good book.

Jump to Post

I guess this link might help you .. as even i am interested in this field and i admit that i am a complete neophyte in this too...
http://www.tenouk.com/Module40c.html

Jump to Post

All 5 Replies

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?

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

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.