[zeromq-dev] ZMQ Crash from unknown DNS name
David Kantowitz
dkantowitz at gmail.com
Thu Jan 27 09:28:06 CET 2011
Martin,
On Wed, Jan 26, 2011 at 11:42 PM, Martin Sustrik <sustrik at 250bpm.com> wrote:
> Hi David,
>
>>
>> My quick fix was to check the address and interface in
>> socket_base::bind() and socket_base::connect().
>>
>> I've pasted my change below in case you want to do something similar.
>>
>
> The real solution IMO would be to introduce a new "address" structure that
> would contain the address as such, with no elements to resolve.
>
When will sockaddr_storage be insufficient?
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110127/60f35963/attachment.htm>
More information about the zeromq-dev
mailing list