File MIES_MiesUtilities_ZeroMQ.ipf

This file holds MIES utility functions for ZeroMQ.

Functions

variable GetZeroMQXOPFlags()
variable StartZeroMQSockets(variable forceRestart = defaultValue)

Start the ZeroMQ sockets and the message handler.

Debug note: Tracking the connection state can be done via netstat | grep $port. The binded port only shows up after a successfull connection with zeromq_client_connect() is established.

Returns:

NaN if already running, otherwise it returns the number of trials it had to iterate for an unused port.

variable UpdateXOPLoggingTemplate()

Update the logging template used by the ZeroMQ-XOP and ITCXOP2.