Like evhttp_accept_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 fd a socket fd that is ready for accepting connections
@return Handle for the socket on success, NULL on failure.
@see evhttp_accept_socket(), evhttp_del_accept_socket()
Like evhttp_accept_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 fd a socket fd that is ready for accepting connections @return Handle for the socket on success, NULL on failure. @see evhttp_accept_socket(), evhttp_del_accept_socket()