C
void UDPClose( UDP_SOCKET s );
Description
UDP_SOCKET UDPOpen(UDP_PORT localPort, NODE_INFO *remoteNode, UDP_PORT remotePort);
Closes a UDP socket and frees the handle. Call this function to release a socket and return it to the pool for use by future communications.
Preconditions
UDPInit() must have been previously called.
Parameters
Parameters |
Description |
s |
The socket handle to be released. If an illegal handle value is provided, the function safely does nothing. |
Returns
None
Remarks
This function does not affect the previously designated active socket.