public static ZMsg recvMsg ( Socket socket , boolean wait ) { return recvMsg ( socket , wait ? 0 : ZMQ . DONTWAIT ) ; }
Receives message from socket returns ZMsg object or null if the recv was interrupted .