private function init_socket() { $this->_socket = pfsockopen(OSRS_HOST, OSRS_FASTLOOKUP_PORT, $this->_socketErrorNum, $this->_socketErrorMsg, $this->_socketTimeout); if (!$this->_socket) { return false; } else { return true; } }