# Function Reference

TCPNameToIP

Converts an Internet name to IP address.

TCPNameToIP ( name )

Parameters

name | String containing an Internet name.

Return Value

Success: | Returns string containing IP address corresponding to the name.
Failure: | Returns "" and set @error according to Windows API WSAGetError return.

Remarks

TCPStartup is needed before this call.

Related

TCPStartup

Example

TCPStartup()
msgbox(0,"IP???",TCPNameToIP("TheMachineNextToYOU"))