beautypg.com

Admnet api release socket functions – ProSoft Technology MVI69-ADMNET User Manual

Page 68

background image

Application Development Function Library - ADMNET API

MVI-ADMNET ♦ 'C' Programmable

Developer's Guide

'C' Programmable Application Development Module with Ethernet

Page 68 of 122

ProSoft Technology, Inc.

February 20, 2013

5.3

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

ADM_release_sockets();

See Also
ADM_init_socket (page 65)