KwikNet Low Level Services
K
DAK
173
kn_udpclose kn_udpclose
Purpose Close a UDP Channel
Used by
n Task o ISP o Timer Procedure o Restart Procedure n Exit Procedure
Setup Prototype is in file KN_API.H.
#include "KN_LIB.H"
int kn_udpclose(unsigned long udphandle);
Description Udphandle is a UDP handle acquired with a previous call to
kn_udpopen(). This handle must not be used after the UDP channel
which it represents has been closed.
Returns If successful, a value of 0 is returned.
On failure, the error status -1 is returned.
Example See example in the description of kn_udpopen().
See Also kn_udpopen()
Comments to this Manuals