Sign in Join
FPDoc Onlineexperiment

StrToNetAddr function

In unit Sockets

Convert a string to a network address.

Declaration

pascal
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

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