XPS Unified
EDH0373En1023 — 01/18
7.2.1.325
TCP_CloseSocket
Name
TCP_CloseSocket – Closes a socket.
Input tests
-
Refer to section 7.1: "Input Tests Common to all XPS Functions".
-
Checks socket identifier (Max = 100).
-
Socket must be used.
Description
Closed the opened TCP/IP communication defined by the given socket identifier. If the
socket is undefined or is not used, then nothing happens.
Prototype
void TCP_CloseSocket(
int SocketID
)
Input parameters
SocketID
Output parameters
None.
Return (In addition to the results of "Input Tests Common to all XPS
Functions")
None.
int
Socket identifier used in each function.
474
Programmer's Manual