public function send($data)
    {
        fwrite($this->socket, $data);
        if ($this->debug) {
            OrientDBHelpers::hexDump($data);
        }
    }
public function send($data)
    {
        fwrite($this->socket, $data);
        if ($this->debug) {
            OrientDBHelpers::hexDump($data);
        }
    }
public function send ( $ data ) { fwrite ( $ this -> socket , $ data ) ; if ( $ this -> debug ) { OrientDBHelpers :: hexDump ( $ data ) ; } }
Send data to socket
@param string $data
Send data to socket