Portable lightweight C++ sockets wrapper

前端 未结 9 2185
隐瞒了意图╮
隐瞒了意图╮ 2020-12-31 01:58

I really thought this would be easier to find...

I need a portable c++ sockets wrapper. I\'m planning to use it for a windows server application and a client that w

9条回答
  •  生来不讨喜
    2020-12-31 02:25

    I'd suggest Boost.Asio. Despite it's name, you are not forced to use asynchronous I/O. You could use synchronous I/O and threads, as your question implies.

    Boost.Asio is a cross-platform C++ library for network and low-level I/O programming that provides developers with a consistent asynchronous model using a modern C++ approach.

提交回复
热议问题