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