php persistent socket

Asked by:
jamorga37 / 5 Points
2012-10-20 11:50 am EST
How To
I want to make a socket connection with a outside server. I have already accomplished this. Next I want to make a socket connection that is always listening to the outside server I.e., not executed through a browser. How can I do this?

To ask this user for more information, please first login.

To submit an answer, please login.



12,011 Points
2012-10-22 9:40 am EST
Hello jamorga37,

Thank you for your question regarding a PHP persistent socket. On a shared server PHP scripts should be temporary, or momentary, since long or constantly running scripts can drive up usage.

If you need to connect constantly to a server then we would recommend a vps or dedicated server.

Here is a link to some alternate hosts who offer these types of servers.

If you have any further questions, feel free to post them below.
Thank you,


To submit a comment on this answer, please first login.

Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.