From af159c8669115abd501a805a0ed7aa2f5ead102e Mon Sep 17 00:00:00 2001 From: kpl Date: Sat, 27 Apr 2013 15:53:38 -0700 Subject: [PATCH] cmRTNet.c: Added kBroadcastUdpFl to cmUdpInit(). --- cmRtNet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmRtNet.c b/cmRtNet.c index 546a9d5..241e4e7 100644 --- a/cmRtNet.c +++ b/cmRtNet.c @@ -563,7 +563,7 @@ cmRtNetRC_t cmRtNetRegisterLocalNode( cmRtNetH_t h, const cmChar_t* nodeLabel, c } // if this is the local node then initialze the local socket - if( cmUdpInit(p->udpH,port,kNonBlockingUdpFl,_cmRtNetRecv,p,NULL,0,p->udpRecvBufByteCnt,p->udpTimeOutMs) != kOkUdpRC ) + if( cmUdpInit(p->udpH,port,kNonBlockingUdpFl | kBroadcastUdpFl,_cmRtNetRecv,p,NULL,0,p->udpRecvBufByteCnt,p->udpTimeOutMs) != kOkUdpRC ) { rc = cmErrMsg(&p->err,kUdpPortFailNetRC,"The UDP port initialization failed."); goto errLabel;