Main Menu
PHP Tools
PHP Help Request
PHP Editors Newsletter
Editor Search
Reviewed PHP Editors
Latest News
Submit News
PHP Tutorials
PHP Book Reviews
Online Book Chapters
PHP Games
Forums
PHP Desktop Editors
Other PHP Tools
PHP Contests
PHP Programming Help
Linux Help
Apache Help
MySQL Help
PHP Games
PHP Jobs
PHP Forums Home
Programming Contest
PHP Contests
PHP Contests Archive
Documentation
PHP Manual
PEAR Manual
PHP-GTK Manual
Smarty Manual
PostgreSQL Manual
CSS 2 Reference
Redhat Linux 9
HTML 4.01
Apache 2 Manual
Partner Sites
Ajax Tutorials
Webmaster Resources
Web Templates
PHP Scripts
PHP Code Examples
Learn PHP playing Trivia
PHP & MySQL Forums
Web Development Index
web site templates
Sponsors
NuSphere
Net_Server
PEAR Manual
Prev
Chapter 48. Networking
Next
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.
Prev
Home
Next
Net_Portscan::getService()
Up
Introduction
© Copyright 2003-2023 www.php-editors.com. The ultimate
PHP Editor
and
PHP IDE
site.