$socket = zmq_socket( $cxt, $socket_type )

Creates a new socket object. $socket_types are constants declared in ZMQ::Constants. Sockets cannot be reused across threads.

$