###Function###
TCPCloseSocket

###Description###
Closes a TCP socket.


###Syntax###
TCPCloseSocket ( socket )


###Parameters###
@@ParamTable@@
socket
	The socket identifier (SocketID) as returned by a <a href="TCPListen.htm">TCPListen</a> or <a href="TCPAccept.htm">TCPAccept</a> functions.
@@End@@


###ReturnValue###
@@ReturnTable@@
Success:	Returns 1.
Failure:	Returns 0 and set @error according to Windows API WSAGetLastError return.
@@End@@


###Remarks###
None.

###Related###
TCPStartup, TCPListen, TCPAccept


###Example###
@@IncludeExample@@
