Home c++ Using sockets in C++

Using sockets in C++

Author

Date

Category

I’m just a novice programmer in C++. There is PHP knowledge.
As a medium, I chose Code :: Blocks (well, first, it seems to me more conveniently visual, secondly support cross-platform at the highest level that is the main reason for choosing Code :: Blocks). as a compiler I use GCC .

And so the question: how to use sockets? Specifically need examples and client and server (listening) socket. On the Internet, how many examples did not find, none works or works using .NET, which I do not need absolutely.


Answer 1, Authority 100%

Windows:

Chris Kaspersky. Tutorial game on Winsock

Good articles. I wrote to her work with sockets. Example there 100% worker.


Answer 2, Authority 40%

Unix:

Windows:


Answer 3, Authority 20%

Very good article on Windows network programming in Russian . Plus MSDN on features to help.

Programmers, Start Your Engines!

Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.

Recent questions