mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-06-11 00:57:15 +00:00
This fixes #46 by allowing the user to separate the port bind from the blocking listen(). Two new API functions bind_to_any_port() (which returns the system-assigned port) and listen_after_bind() are equivalent to the existing listen().