troubleshooting Question

PHP Socket Programming - Listenning and Answering Multiple Connections

Avatar of Ege
EgeFlag for Turkey asked on
PHP
12 Comments1 Solution1383 ViewsLast Modified:
PHP Socket Programming - Listenning and Answering
Multiple Connections

I need a program written with PHP such that,
It listens a linux PORT, handles the connections (multiple connection) and writes to each socket (one of, 4 of or all of them with respect to options)

Also, max. connection support should be added.
REQUIERMENTS:
- Several users can connect to port and post data.
- The PHP TCP-Server will be accept, and sends to this data to some of clients, or all.
- Týmeout should be supported for clients.

Sorry, but I tried to write it. however, I could not finished for multiple connections. I need it as soon as possible.

Waiting for your complete running scripts (I could not find in the Internet for multiple connection handling!, only simple codes avaliable...)

best regards..
- Ege
ASKER CERTIFIED SOLUTION
lucamar

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 12 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 12 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros