def __init__(self, ip_address, port_range):
        """
        Parameters
        ----------

        ip_address: str
           IP address of the client (where Parsl runs)
        port_range: tuple(int, int)
           Port range for the comms between client and interchange

        """
        self.context = zmq.Context()
        self.results_receiver = self.context.socket(zmq.DEALER)
        self.results_receiver.set_hwm(0)
        self.port = self.results_receiver.bind_to_random_port("tcp://{}".format(ip_address),
                                                              min_port=port_range[0],
                                                              max_port=port_range[1])
def __init__ ( self , ip_address , port_range ) : self . context = zmq . Context ( ) self . results_receiver = self . context . socket ( zmq . DEALER ) self . results_receiver . set_hwm ( 0 ) self . port = self . results_receiver . bind_to_random_port ( "tcp://{}" . format ( ip_address ) , min_port = port_range [ 0 ] , max_port = port_range [ 1 ] )
Parameters
        ----------

        ip_address: str
           IP address of the client (where Parsl runs)
        port_range: tuple(int, int)
           Port range for the comms between client and interchange