public function close()
    {
        try {
            $this->socket->disconnect($this->dsn);
        } catch (\ZMQException $e) {
            throw new ClientException($e->getMessage());
        }
    }
public function close()
    {
        try {
            $this->socket->disconnect($this->dsn);
        } catch (\ZMQException $e) {
            throw new ClientException($e->getMessage());
        }
    }
public function close ( ) { try { $ this -> socket -> disconnect ( $ this -> dsn ) ; } catch ( \ ZMQException $ e ) { throw new ClientException ( $ e -> getMessage ( ) ) ; } }
Closes socket connection to server.

@throws ClientException
Closes socket connection to server .