Bind to a new address:port, start listening and add the listen socket to m_listen.

Synopsis

Declared in <httpserver.h>

util::Expected<void, std::string>
BindAndStartListening(CService const& to);

Return Value

{} or the reason for failure.

Parameters

Name

Description

to [in]

Where to bind.

Created with MrDocs