/**
 * TCPClientClose - Closes the client socket specified by the handle.
 * \param Sockclose - The handle of the socket to close (the handle returned by the command TCPClientOpen).
 * \return None.
 */
void TCPClientClose (TCP_SOCKET Sockclose)
{
	TCPGenericClose(Sockclose);
}
/**
 * TCPServerClose - Closes the server socket specified and destroys the handle. Any remote client connected with the server will be disconnected.
 * \param Sockclose - The handle of the socket to close (the handle returned by the command TCPServerOpen).
 * \return None.
 */
void TCPServerClose(TCP_SOCKET Sockclose)
{
	TCPGenericClose(Sockclose);
}
Exemple #3
0
/**
 * Closes the client socket specified by the handle.
 * \param Sockclose - The handle of the socket to close (the handle returned by the command FTPClientOpen).
 * \return None.
 */
void FTPClose (TCP_SOCKET Sockclose)
{
	TCPGenericClose(Sockclose);
	Sockclose = INVALID_SOCKET;
}