Search code examples
c++socketstcpnetwork-programming

Networking in C/C++?


I am a beginner C++ programmer. In C#, I used the System.Net.Sockets.Socket class, which represents a networking socket, to create/connect a server. How can I do the same thing in C++? Are there any classes like this?


Solution

  • In windows theres a library called winsock.dll.

    In Unix, you can use unix sockets

    Then, there’s boost sockets

    beej guide to internet sockets

    windows sockets

    boost networking