Starts TCP or UDP services.
TCPStartup ( )
UDPStartup ( )
Parameters
None.
Return Value
| Success: | Returns 1. |
| Failure: | Returns 0 and set @error. |
| @error: | windows API WSAStartup return value (see MSDN). |
Remarks
There must be a TCPShutdown() call to avoid memory consomption.
Related
TCPShutdown, TCPListen, TCPCloseSocket, UDPCloseSocket, TCPAccept, TCPConnect, TCPNameToIP, TCPRecv, TCPSend
Example
TCPStartup ( ) ; To start TCP services