PHP Classes

SAMP Socket: Get details about a GTA San Andreas game server

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 541 All time: 5,579 This week: 560Up
Version License PHP version Categories
class-samp_socket 0.1.1GNU General Publi...4.0Networking, Games


This class can be used to get the details about a GTA San Andreas multi-player game server.

It establishes an UDP connection a game server with a given IP address and queries the server about information of the same multi-player server.

The class retrieves the game server host name, the game mode, map name, whether it requires password access, the current and the maximum number of players, the players nick names and their scores.

The game server information can be returned as an associative array or is outputted in a XML format.

Picture of José Roberto de Araújo Júnior
Name: José Roberto de Araújo ... <contact>
Classes: 1 package by
Country: Brazil Brazil
Age: 32
All time rank: 3188236 in Brazil Brazil
Week rank: 301 Up25 in Brazil Brazil Up

  • array
  • xml
  Files folder image Files  
File Role Description
Accessible without login Plain text file SAMP_Socket.class.php Class PHP >= 5
Plain text file SAMP_Socket.class.php4.php Class PHP < 5

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:5,579
This week:560Up