StrToNetAddr
Convert a string to a network address.
Declaration
Source position: socketsh.inc line 194
function StrToNetAddr(IP: AnsiString) : in_addr;
Description
StrToNetAddr converts the string representation in IP to a network address and returns the network address.
Errors
On error, the network address is filled with zeroes.
See also
| Name | Description |
|---|---|
| HostAddrToStr | Convert a host address to a string. |
| NetAddrToStr | Convert a network address to a string. |
| StrToHostAddr | Convert a string to a host address. |