Socket Programming in C++

后端 未结 3 489
迷失自我
迷失自我 2021-01-01 18:42

Can anybody provide me some sample example on Client and server connection using sockets in C++. I have gone through some tutorials now i want to implement it. How to start

相关标签:
3条回答
  • 2021-01-01 19:05

    You can find a working client-server program here: Beej's Guide to Network Programming

    0 讨论(0)
  • 2021-01-01 19:05

    A good C++ networking library is ACE. The only problem is that there aren't any good tutorials online that I have found. This book is pretty good though.

    0 讨论(0)
  • 2021-01-01 19:25

    There is no socket API in the C++ Standard. The POSIX C API is fairly portable (the GNU libC documentation provides examples of UDP and TCP clients and servers that I usually turn to when I'm scratching together another server), or you could use the Boost.ASIO library for a more C++ experience....

    0 讨论(0)
提交回复
热议问题