ratcateme Posted March 24, 2008 Share Posted March 24, 2008 i want to create a php script that will listen and accept connections on a port then pass the connection onto another script to keep the main script just handling incoming connections and not being tied up until the connection ends. i have made a script that listens on port 9000 and waits until a connection is received then it will do stuff. the only problem with this is that it can only have on connection at a time and i need multiple connections at the same time. Scott. Quote Link to comment Share on other sites More sharing options...
ratcateme Posted March 24, 2008 Author Share Posted March 24, 2008 any ideas? at the moment i am using socket_accept() to accept the connection is there another way that will accept multiple connections because my current understanding of socket_accept() it will only take one connection at a time. Scott. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.