6.102. kink/socket/UNIX_DOMAIN_SOCKET_PATH

6.102.1. type unix_domain_socket_path

`unix_domain_socket_path` is a path of a UNIX domain socket.

`unix_domain_socket_path` is a subtype of `socket_address`.

Example

6.102.1.1. Udsp.path

`path` returns the path on the file system of the UNIX domain socket as a `str` value.

6.102.1.2. Udsp.protocol_family

`protocol_family` returns PROTOCOL_FAMILY.unix.

6.102.1.3. Udsp == Addr

`==` operator, or `op_eq` method, returns true if and only if `Addr` is a `unix_domain_socket_path` value, and the paths of `Udsp` and `Addr` are equal by `==` operator of type `str`.

Precondition

`Addr` must be a `socket_address`.

6.102.2. UNIX_DOMAIN_SOCKET_PATH.new(Path)

`new` returns a `unix_domain_socket_path` value.

Precondition

`Path` must be a `str`.

6.102.3. UNIX_DOMAIN_SOCKET_PATH.is?(Val)

`is?` returns whether `Val` is a `unix_domain_socket_path` value.