Allow listen_port
to return selected port number #1
Loading…
Reference in New Issue
No description provided.
Delete Branch "midokura-xavi/libweb:listen-port"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR replaces the signature for
handler_listen
so, if0
is selected as the port number, it can also be retrieved. Otherwise, there was no way for the caller to retrieve the port number selected by the operating system.Also, a new function, namely
handler_loop
, has been added so as to splitlibweb
's main loop fromhandler_listen
.