[Overview][Constants][Types][Procedures and functions][Index] Reference for unit 'Sockets' (#rtl)

Str2UnixSockAddr

Convert path to TUnixSockAddr

Declaration

Source position: sockets.pp line 65

procedure Str2UnixSockAddr(

  const addr: String;

  var t: TUnixSockAddr;

  var len: LongInt

);

Description

Str2UnixSockAddr transforms a Unix socket address in a string to a TUnixSockAddr structure which can be passed to the Bind call.

Errors

None.

See also

Socket

  

Create new socket (deprecated)

Bind

  

Bind a socket to an address (deprecated).

The latest version of this document can be found at lazarus-ccr.sourceforge.net.