Skip to content

Str2UnixSockAddr

Convert path to TUnixSockAddr

Declaration

Source position: sockets.pp line 66

  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

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