code: private byte[] recv(Socket socket, int flags)
      {
          Utils.checkArgument(socket != null, "socket parameter must not be null");
          data = socket.recv(flags);
          more = socket.hasReceiveMore();
          return data;
      }
docs: Internal method to call recv on the socket.
  Does not trap any ZMQExceptions but expects caling routine to handle them.
  @param socket
  0MQ socket to read from
  @return
  byte[] data