Set the multicast TTL.
Definition at line 357 of file PracticalSocket.cpp. References Socket::sockDesc. 00357 { 00358 if (setsockopt(sockDesc, IPPROTO_IP, IP_MULTICAST_TTL, 00359 (raw_type *) &multicastTTL, sizeof(multicastTTL)) < 0) { 00360 throw SocketException("Multicast TTL set failed (setsockopt())", true); 00361 } 00362 }
|