0

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

Safari
  • 11,437
  • 24
  • 91
  • 191

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,572
  • 7
  • 65
  • 91
  • 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
  • 28,391
  • 15
  • 94
  • 122