Skip to content

Str2UnixSockAddr (deprecated)

Convert path to TUnixSockAddr.

Declaration

Source position: sockets.pp line 82

procedure Str2UnixSockAddr(const addr: ansistring; 
                          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

Name Description
FPSocket Create new socket.
FPBind Bind a socket to an address.