|
|
|
|
|
|
|
|
connect_to: the tcp address:port of the hub computer. |
|
|
connect_to: the tcp address:port of the hub computer. |
|
|
""" |
|
|
""" |
|
|
|
|
|
|
|
|
def __init__(self, connect_to='tcp://127.0.0.1:5555'): |
|
|
|
|
|
|
|
|
def __init__(self, connect_to='tcp://127.0.0.1:63128'): |
|
|
"""Initializes zmq socket for sending images to the hub. |
|
|
"""Initializes zmq socket for sending images to the hub. |
|
|
|
|
|
|
|
|
Expects an open socket at the connect_to tcp address; it will |
|
|
Expects an open socket at the connect_to tcp address; it will |
|
|
|
|
|
|
|
|
open_port: (optional) the socket to open for receiving REQ requests. |
|
|
open_port: (optional) the socket to open for receiving REQ requests. |
|
|
""" |
|
|
""" |
|
|
|
|
|
|
|
|
def __init__(self, open_port='tcp://*:5555'): |
|
|
|
|
|
|
|
|
def __init__(self, open_port='tcp://*:63128'): |
|
|
"""Initializes zmq REP socket to receive images and text. |
|
|
"""Initializes zmq REP socket to receive images and text. |
|
|
""" |
|
|
""" |
|
|
|
|
|
|