Set WeberTrivia.com to be my default homepage.   Suggest a Question                                               

Suggest A Question : :  Frequently Asked Questions : :  Search : :  Relevant Manuals : : 
PHP Questions : :  Linux Questions : :  MySQL Questions : : 
home  [ Login ] 

Class Summary Net_Server_Driver_Sequential

Class Summary Net_Server_Driver_Sequential -- Sequential server class.

Sequential server class.

This class will handles all connection in one server process. This allows you to build servers, where communication between the clients is easy. The drawback is that clients are served sequentially (hence the name). If you send large blocks of data to a client, the others will have to wait. For servers where communication between clients is not needed, use Net_Server_Fork instead.

Events that can be handled:

  • onStart

  • onConnect

  • onConnectionRefused

  • onClose

  • onReceiveData

  • onShutdown

Class Trees for Net_Server_Driver_Sequential

Net_Server_Driver_Sequential Inherited Methods

Table 33-1. Inherited from Net_Server_Driver

Method NameSummary
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

Who's Online
Guest Users: 9
Google
Web
WeberTrivia
WeberDev
WeberForums
 Free Sample Chapters  Free Sample Chapters
  Deliver First Class Web Sites: 101 Essential Checklists
Want to learn how to make your web sites usable and accessible? Want to ensure that your sites meet current best practice, without spending hours trawling through incomprehensible specifications and recommendations from dozens of different books, research papers, and web sites? Want to make sure that the sites you build are "right the first time," requiring no costly redevelopments?

More Sample Chapters

PHP General