Browse Source

cmUdpNet.h: Comment updates.

master
kevin 11 years ago
parent
commit
f8e504cbfc
1 changed files with 6 additions and 2 deletions
  1. 6
    2
      cmUdpNet.h

+ 6
- 2
cmUdpNet.h View File

55
 cmUnRC_t cmUdpNetFree( cmUdpNetH_t* hp );  
55
 cmUnRC_t cmUdpNetFree( cmUdpNetH_t* hp );  
56
 
56
 
57
 // Initialize a UDP net using a previously allocated handle
57
 // Initialize a UDP net using a previously allocated handle
58
+// The node information (nodeLabel,nodeId,nodeSocketPort) refers
59
+// to the local node. The callback information (cbFunc,cbArg)
60
+// are used during cmUdpNetReceive() to receive incoming
61
+// information from the local node.
58
 cmUnRC_t cmUdpNetInit(
62
 cmUnRC_t cmUdpNetInit(
59
   cmUdpNetH_t         h,
63
   cmUdpNetH_t         h,
60
   const cmChar_t*     nodeLabel,
64
   const cmChar_t*     nodeLabel,
118
 cmUnRC_t cmUdpNetSendByLabel( cmUdpNetH_t h, const cmChar_t* remoteNodeLabel, const void* data, unsigned dataByteCnt );
122
 cmUnRC_t cmUdpNetSendByLabel( cmUdpNetH_t h, const cmChar_t* remoteNodeLabel, const void* data, unsigned dataByteCnt );
119
 
123
 
120
 // Transmit any waiting incoming messages to the client via the
124
 // Transmit any waiting incoming messages to the client via the
121
-// cmUdpNetCallback_t callback function provided in the UDP
122
-// network's initialization function.
125
+// cmUdpNetCallback_t callback function provided
126
+// cmUdpNetInit().
123
 // On input *msgCntPtr should hold the max. number of 
127
 // On input *msgCntPtr should hold the max. number of 
124
 // messages to receive or NULL to receive all available.
128
 // messages to receive or NULL to receive all available.
125
 // On return *msgCntPtr is set to the actual number of
129
 // On return *msgCntPtr is set to the actual number of

Loading…
Cancel
Save