'Args:
addr1,addr2 (str): addr of the socket to connect to.
Use both if you need two protocols (e.g. both IPC and TCP).
I don\'t think you\'ll ever need 3.'

def __init__(self, addr1, addr2=None):

    assert addr1
    self._addr1 = addr1
    self._addr2 = addr2
    self._guard = DataFlowReentrantGuard()
