Hi, Just wanted to share Daniel Lundin's 1-line Bash implementation of 0MQ: zmq_push () { m=$(cat) && echo -e $(printf '\\x01\\x00\\x%02x\\x00%s' $((1 + ${#m})) "$m") | nc -q1 $@; } -Pieter