Net_GameServerQuery
[ class tree: Net_GameServerQuery ] [ index: Net_GameServerQuery ] [ all elements ]

Class: Net_GameServerQuery

Source Location: /Net_GameServerQuery-0.1/GameServerQuery.php

Class Overview


Net_GameServerQuery


Author(s):

Version:

  • 0.1

Methods


Inherited Variables

Inherited Methods


Class Details

[line 39]
Net_GameServerQuery

Communicate with a Half-Life server.

  • Version: 0.1


[ Top ]


Method Detail

__construct (Constructor)   [line 111]

Net_GameServerQuery __construct( )

Constructor
  • Version: 0.1
  • Access: public

[ Top ]

query   [line 129]

mixed query( string $ip, int $port, string $protocol)

Query a server
  • Return: true if query was successful, or a PEAR_Error if not.
  • Version: 0.1
  • Access: public

Parameters:

string   $protocol   —  The protocol to use (name of the game)
string   $ip   —  The address to connect to
int   $port   —  The information port of the server

[ Top ]


Documentation generated on Mon, 11 Mar 2019 10:14:59 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.