Comunitatea PHP Romania
 

 
Net_Server

Net_Server

Table of Contents
Introduction -- Introduction to Net_Server
Example -- using Net_Server
Class Summary Net_Server -- PHP socket server base class
Net_Server::create() -- create a new server
Class Summary Net_Server_Driver -- Base class for all drivers
Net_Server_Driver::getLastSocketError() -- return string for last socket error
Net_Server_Driver::setCallbackObject() -- register a callback object, that is used to handle all events
Net_Server_Driver::setDebugMode() -- set debug mode
Class Summary Net_Server_Driver_Fork -- Forking server class.
Net_Server_Driver_Fork::broadcastData() -- send data to all clients
Net_Server_Driver_Fork::closeConnection() -- close the current connection
Net_Server_Driver_Fork::getClientInfo() -- get current information about a client
Net_Server_Driver_Fork::getClients() -- get current amount of clients
Net_Server_Driver_Fork::isConnected() -- check, whether a client is still connected
Net_Server_Driver_Fork::sendData() -- send data to a client
Net_Server_Driver_Fork::serviceRequest() -- service the current request
Net_Server_Driver_Fork::setMaxClients() -- set maximum amount of simultaneous connections
Net_Server_Driver_Fork::shutDown() -- shutdown server
Net_Server_Driver_Fork::start() -- start the server
Class Summary Net_Server_Driver_Sequential -- Sequential server class.
Net_Server_Driver_Sequential::acceptConnection() -- accept a new connection
Net_Server_Driver_Sequential::broadcastData() -- send data to all clients
Net_Server_Driver_Sequential::closeConnection() -- close connection to a client
Net_Server_Driver_Sequential::getClientInfo() -- get current information about a client
Net_Server_Driver_Sequential::getClients() -- get current amount of clients
Net_Server_Driver_Sequential::isConnected() -- check, whether a client is still connected
Net_Server_Driver_Sequential::sendData() -- send data to a client
Net_Server_Driver_Sequential::setMaxClients() -- set maximum amount of simultaneous connections
Net_Server_Driver_Sequential::shutDown() -- shutdown server
Net_Server_Driver_Sequential::start() -- start the server
Class Summary Net_Server_Handler -- Base class for all handlers
Net_Server_Handler::onClose() -- onClose handler
Net_Server_Handler::onConnect() -- onConnect handler
Net_Server_Handler::onConnectionRefused() -- onConnectionRefused handler
Net_Server_Handler::onReceiveData() -- onReceiveData handler
Net_Server_Handler::onShutdown() -- onShutdown handler
Net_Server_Handler::onStart() -- onStart handler
Net_Server_Handler::setServerReference() -- set a reference to the server object
Package Net_Server Constants -- Constants defined in and used by Net_Server

Generic server package for creating daemons.

Ultimele discutii in forum RSS Forum

Ultimele articole Ultimele articole

Top membri

Pirahna Pirahna
la birou
carco carco
Bucuresti
Birkoff Birkoff
Bucuresti
Mascka Mascka
Braila
raul_ raul_
whooper whooper
Toronto ON
mihaitha mihaitha
Sibiu
gabysolomon gabysolomon
Bacau
oriceon oriceon
Constanta
garlicinicolae garlicinicolae

Newsletter


Email:
 inscriere
 renuntare
 
 Arhiva newsletter

Parteneriat

Copyright © 2001-2008 PHP Romania Add PHPRomania to Google Add PHPRomania to Del.icio.us Add PHPRomania to Stumbleupon Add PHPRomania to Yahoo! Add PHPRomania to Digg Add PHPRomania to Blink Pirate Costume | Online Loans | Loans | Cheap Loan | New York Hotels
Ads: Partener Way2Web Nework: gazduire web | inregistrare domenii | web design | imobiliare | web hosting
Powered by Simplis