0

can you recommend me a good c++ library(or implementation) for udp socket (multicast) and tcp working on unix / windows system? tnx

Safari
  • 10,747
  • 23
  • 81
  • 173

2 Answers2

4

Boost.Asio

Description

Portable networking and other low-level I/O, including sockets, timers, hostname resolution, socket iostreams, serial ports, file descriptors and Windows HANDLEs.

Sadique
  • 22,181
  • 7
  • 62
  • 90
  • i have use one multicast socket for to send packets and some tcp socket. use a library as asio is good? i think to something most light.. – Safari Mar 29 '11 at 14:27
1

There is also the Adaptive Communication Environment. This SO question asks about the pros and cons of three different C++ networking libraries.

If you already depend on Boost, you might as well stick with boost::asio. ACE is quite a large library.

Community
  • 1
  • 1
Emile Cormier
  • 27,305
  • 15
  • 88
  • 119