21 #ifndef GV_MULTICAST__H
22 #define GV_MULTICAST__H
41 static void join( SOCKET ,
const std::string & ) ;
44 static void join( SOCKET ,
const in_addr & multiaddr ) ;
49 static std::pair<int,int> join_imp( SOCKET ,
const in_addr & ) ;
static void join(SOCKET, const std::string &)
Joins the socket to the multicast group. IPv4 only. Throws on error.
A class to do setsocketopt() on a socket file descriptor, with IP_ADD_MEMBERSHIP. ...