Function[s]
UDPCommFn_Cyclic
Cyclic function for managing UDP communications. This function interally handles calling UDPCommManage, UDPCommReceive, UDPCommSend.
Parameters
Direction | Name | Type | Description |
---|---|---|---|
In / Out | commMgr | UDPCommMgr_typ* | UDP Comm manager to manage |
Return | Error | UINT | Returns 0 if okay, returns UDPCOMM_ERR_INVALIDINPUT if invalid input |
Usage
Show a code example. Explain the code with comments.
put code here
UDPCommManage
Handle the open and close of UDP communication on the local interface.
Parameters
Direction | Name | Type | Description |
---|---|---|---|
In / Out | commMgr | UDPCommMgr_typ* | UDP Comm manager to manage |
Return | Error | UINT | Returns 0 if okay, returns UDPCOMM_ERR_INVALIDINPUT if invalid input |
Usage
Show a code example. Explain the code with comments.
put code here
UDPCommReceive
Handles receiving UDP datagrams.
Parameters
Direction | Name | Type | Description |
---|---|---|---|
In / Out | commMgr | UDPCommMgr_typ* | UDP Comm manager to manage |
Return | Error | UINT | Returns 0 if okay, returns UDPCOMM_ERR_INVALIDINPUT if invalid input |
Usage
Show a code example. Explain the code with comments.
put code here
UDPCommSend
Handles sending UDP datagrams.
Parameters
Direction | Name | Type | Description |
---|---|---|---|
In / Out | commMgr | UDPCommMgr_typ* | UDP Comm manager to manage |
Return | Error | UINT | Returns 0 if okay, returns UDPCOMM_ERR_INVALIDINPUT if invalid input |
Usage
Show a code example. Explain the code with comments.
put code here