Rede - saber se o protocolo tcp esta instalado

Top  Previous  Next

You can:

 

check the registry key HKLM\System\CurrentControlSet\Services\Tcpip

- use WsaEnumProtocols (winsock2)

- simple try to create a TCP/IP socket and see if it succeeds

 

> I am also looking for an API which can install TCP/IP programmaticly

> when it isn't installed on a machine.