Create an R6 listener using IPv4/IPv6 endpoint fallback.

Arguments

address

Local hostname, IP address, endpoint, or NULL for wildcard.

port

Optional port when it is not embedded in address.

backlog

Maximum pending connection queue length.

reuse_address

Whether to set SO_REUSEADDR.

cloexec

Whether to set close-on-exec.

prefer

Address families to try, in order.

Value

A listening Socket R6 object.