Binds an HTTP server on the specified address and port.
Can be called multiple times to bind the same http server
to multiple different ports.
@param http a pointer to an evhttp object
@param address a string containing the IP address to listen(2) on
@param port the port number to listen on
@return 0 on success, -1 on failure.
@see evhttp_accept_socket()
Binds an HTTP server on the specified address and port.
Can be called multiple times to bind the same http server to multiple different ports.
@param http a pointer to an evhttp object @param address a string containing the IP address to listen(2) on @param port the port number to listen on @return 0 on success, -1 on failure. @see evhttp_accept_socket()