Function SocketInetAddr() Professional

Converts an internet address formatted as dotted octet string to a numeric IP address.

Syntax
SocketInetAddr( <cIPAddress> ) --> nIPAddress
Parameters
<cIPAddress>
This is a character string representing a internet address in dottet octet notation ("111.112.113.114")
Return

The function returns a numeric internet address in network byte order. If the passed string does not comply with the dotted octet notation, the returned value is equivalent to INADDR_NONE. The passed string is not valid when a portion of "a.b.c.d" is missing or when one of the four numbers encoded in the string lies outside the range of 0 and 255.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.