Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

void UDPSocket::setBroadcast (  )  [private]

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 }


Generated on Thu Jan 13 09:13:10 2011 for ImpalaSrc by  doxygen 1.5.1