|
|
|
|
563
|
}
|
563
|
}
|
564
|
|
564
|
|
565
|
// if this is the local node then initialze the local socket
|
565
|
// if this is the local node then initialze the local socket
|
566
|
- if( cmUdpInit(p->udpH,port,kNonBlockingUdpFl,_cmRtNetRecv,p,NULL,0,p->udpRecvBufByteCnt,p->udpTimeOutMs) != kOkUdpRC )
|
|
|
|
|
566
|
+ if( cmUdpInit(p->udpH,port,kNonBlockingUdpFl | kBroadcastUdpFl,_cmRtNetRecv,p,NULL,0,p->udpRecvBufByteCnt,p->udpTimeOutMs) != kOkUdpRC )
|
567
|
{
|
567
|
{
|
568
|
rc = cmErrMsg(&p->err,kUdpPortFailNetRC,"The UDP port initialization failed.");
|
568
|
rc = cmErrMsg(&p->err,kUdpPortFailNetRC,"The UDP port initialization failed.");
|
569
|
goto errLabel;
|
569
|
goto errLabel;
|