Sign in Join
FPDoc Onlineexperiment

StrToHostAddr function

In unit Sockets

Convert a string to a host address.

Declaration

pascal
function StrToHostAddr(IP: AnsiString): in_addr

Description

StrToHostAddr converts the string representation in IP to a host address and returns the host address.

Errors

On error, the host address is filled with zeroes.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.