UnixSocket.bind

Assigns a local address to this socket. socket() must have been called previously.

address = The LocalAddress instance to use. Must be non-null.

class UnixSocket
int
bind

Return Value

Type: int

0 on success or -1 on failure. On failure errno is set appropriately. See the ISocket bind() implementation for details.

Meta