Definition at line 302 of file PracticalSocket.cpp. References Socket::sockDesc. Referenced by UDPSocket(). 00302 { 00303 // If this fails, we'll hear about it when we try to send. This will allow 00304 // system that cannot broadcast to continue if they don't plan to broadcast 00305 int broadcastPermission = 1; 00306 setsockopt(sockDesc, SOL_SOCKET, SO_BROADCAST, 00307 (raw_type *) &broadcastPermission, sizeof(broadcastPermission)); 00308 }
|