Application Development Function Library: ADMNET API
MVI-ADMNET
♦
'C' Programmable
Ethernet Module
ProSoft Technology, Inc.
Page 41 of 90
December 13, 2006
ADMNET API Release Socket Functions
This section describes the ADMNET API Release Socket Functions.
ADM_release_sockets
Syntax:
int ADM_release_sockets(void);
Parameters:
none
Description:
This function is used by an application to release all sockets created by
ADM_init_socket.
IMPORTANT:
After a socket has been generated, this function should always
be called before exiting the application.
Return Value:
SK_SUCCESS
API was successfully released all the sockets.
Example:r
ADM_release_sockets();
See Also:
ADM_init_socket