private function open()
    {
        $this->handle = @socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
        
        if (! is_resource($this->handle)) {
            $code = socket_last_error();
            throw new SocketException(socket_strerror($code), array(), $code);
        }
    }