Method Stdio.Port()->listen_fd()
- Method listen_fd
intlisten_fd(intfd,void|function(:void)accept_callback)- Description
This function does the same as bind, except that instead of creating a new socket and bind it to a port, it expects the file descriptor
fdto be an already open port.- Note
This function is only for the advanced user, and is generally used when sockets are passed to Pike at exec time.
- See also