Portable lightweight C++ sockets wrapper

前端 未结 9 2184
隐瞒了意图╮
隐瞒了意图╮ 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:17

    Old question, but for C++, BSD style synchronous sockets this is about as minimal baggage wrapper as you can find http://code.google.com/p/ting/source/browse/trunk/src/ting/net/

    It does come with exceptions. You could make a bit more lightweight one as a header-only template library, and maybe make exceptions optional, but that would change the API a bit

    POCO network classes are quite similar, but do require more dependencies from other parts of the Poco lib

提交回复
热议问题