• Luca Boccassi's avatar
    Problem: can't unbind with bound addr with IPv6 · c8211bf3
    Luca Boccassi authored
    Solution: try to resolve the TCP endpoint passed by the user in the
    zmq_unbind call before giving up, if it doesn't match.
    This fixes a breakage in the API, where after a call to
    zmq_bind(s, "tcp://127.0.0.1:9999") with IPv6 enabled on s would
    result in the call to zmq_unbind(s, "tcp://127.0.0.1:9999") failing.
    Add more test cases to increase coverage on all combinations of TCP
    endpoints.
    c8211bf3
socket_base.cpp 49 KB