def send_meta_data(socket, conf, name):
meta_data = dict(<EOL>name=name,<EOL>conf=conf<EOL>)<EOL>try:<EOL><INDENT>socket.send_json(meta_data, flags=zmq.NOBLOCK)<EOL><DEDENT>except zmq.Again:<EOL><INDENT>pass<EOL><DEDENT>
Sends the config via ZeroMQ to a specified socket. Is called at the beginning of a run and when the config changes. Conf can be any config dictionary.