Like evhttp_bind_socket(), but returns a handle for referencing the socket.
The returned pointer is not valid after \a http is freed.
@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 Handle for the socket on success, NULL on failure.
@see evhttp_bind_socket(), evhttp_del_accept_socket()
Like evhttp_bind_socket(), but returns a handle for referencing the socket.
The returned pointer is not valid after \a http is freed.
@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 Handle for the socket on success, NULL on failure. @see evhttp_bind_socket(), evhttp_del_accept_socket()