Skip to content

Commit

Permalink
add ipv6 flag to zmq
Browse files Browse the repository at this point in the history
  • Loading branch information
LeiGlobus committed Nov 25, 2024
1 parent 5831ce2 commit e1134b0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def _zmq_create_socket_port(context: zmq.Context, ip_address: str | int, port_ra
# May not work until Parsl is updated?
# sock.setsockopt(zmq.IPV6, True)

sock.setsockopt(zmq.IPV6, True)
port = sock.bind_to_random_port(
f"tcp://{_zmq_canonicalize_address(ip_address)}",
min_port=port_range[0],
Expand Down

0 comments on commit e1134b0

Please sign in to comment.