Board index   FAQ   Search  
Register  Login
Board index PHP PEAR and PECL

Pear net_server package

Do you have questions regarding Pecl or Pear? ask here!

Moderators: macek, egami, gesf

Pear net_server package

Postby themuntdregger » Mon Aug 13, 2012 9:59 am

Firstly apologies for the noobie question.

I've been attempting to use the pear net_server package php to put together a basic multi-socket server. When using the chat server example that's included as part of the package, everything works fine as long as only one client is connected. If I try to connect more than one, the server locks up. Anyone any ideas as to what I might be doing incorrectly ?

Relevant info :

O/S Ubuntu 11.04
Php 5
Client connections are telnets via local terminal instances.
themuntdregger
New php-forum User
New php-forum User
 
Posts: 1
Joined: Mon Aug 13, 2012 9:39 am

Re: Pear net_server package

Postby johnj » Fri Aug 24, 2012 1:00 am

you need to debug the code..that is the only way out. Make sure server-client ip and port is unique, they are open so that you can be sure that you are not violating basics of net programming.
johnj
php-forum Super User
php-forum Super User
 
Posts: 1805
Joined: Thu Mar 10, 2011 5:07 pm


Return to PEAR and PECL

Who is online

Users browsing this forum: No registered users and 0 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.