Close (Winsock)

This method closes a Transmission Control Protocol/Internet Protocol (TCP/IP) connection or a listening socket for both client and server applications.

Syntax

winsock.Close

Parameters

winsock
Name of a Winsock control.

Return Value

None.

Remarks

Use the Listen method to open TCP/IP connections for servers or the Connect method to open TCP/IP connections for clients.