Browse Source

cmRTNet.c: Added kBroadcastUdpFl to cmUdpInit().

master
kpl 11 years ago
parent
commit
af159c8669
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      cmRtNet.c

+ 1
- 1
cmRtNet.c View File

@@ -563,7 +563,7 @@ cmRtNetRC_t cmRtNetRegisterLocalNode( cmRtNetH_t h, const cmChar_t* nodeLabel, c
563 563
   }
564 564
 
565 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 568
     rc = cmErrMsg(&p->err,kUdpPortFailNetRC,"The UDP port initialization failed.");
569 569
     goto errLabel;

Loading…
Cancel
Save