[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [Libevent-users] specifying hints.ai_flags for bufferevent_socket_connect_hostname



That's easy, but any preferences? Should it be a new property of evdns_base, e.g. set with evdns_base_set_default_flags(), or a new socket_connect_hostname function with the additional parameter?

AI_ADDRCONFIG


On 2014-12-08 13:57, Azat Khuzhin wrote:
On Mon, Dec 08, 2014 at 01:11:46PM +0000, Joseph Spadavecchia wrote:
Is there a way to specify the ai_flags to be used by
bufferevent_socket_connect_hostname()? I cannot find any way other than by
calling evdns_getaddrinfo() or evutil_getaddrinfo() directly.

Hi Joseph, the answer is no, right now you can't do that.
But you could send a patch for this.

Just our of curiosity, which flag you want to install?

***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.