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

Class: Net_GameServerQuery_Communicate

Source Location: /Net_GameServerQuery-0.3.0/Net/GameServerQuery/Communicate.php

Class Overview


Handles all communication between client and game server


Author(s):

Methods


Inherited Variables

Inherited Methods


Class Details

[line 37]
Handles all communication between client and game server


[ Top ]


Method Detail

query   [line 56]

array query( array $servers, int $timeout)

Perform a batch query

This runs open, write, listen and close sequentially

  • Return: An array of results
  • Access: public

Parameters:

array   $servers   —  Server data (n=>addr,port,packet)
int   $timeout   —  Maximum wait time (milliseconds)

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:39:46 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.