# Function Reference

TCPShutdown, UDPShutdown

Stops TCP/UDP services.

TCPShutdown ( )
UDPShutdown ( )

Parameters

None.

Return Value

Success: | Returns 1.
Failure: | Returns 0 and set @error according to Windows API WSACleanup return.

Remarks

None.

Related

TCPStartup, TCPListen, TCPCloseSocket, UDPCloseSocket

Example

TCPStartup() ; To start TCP services
TCPShutdown ( ) ; To stop TCP services