Jump to content

Recommended Posts

Hey Guys,

I have a question, and i couldnt think of a better place to ask. It doesnt really count as "Help" so i put it in here.

PHP Sockets! I have started reading up on them and using them, And i think they are amazing. Just the whole idea behind it is great.

 

So far i have worked on getting users to connect and spitting back stuff they enter right back at them and what not.

I even did a small HTTP Server type thing that only works with HTML files and stuff.

 

But what i want to know, What are other practical uses for PHP and sockets? What else could i go about and do with sockets.

Have you heard about something thats been done with them, just know about it or have you worked on a sockets project before?

 

I would be ever greatful if you could share what other uses for sockets that you know of, So i can expand my knowledge of sockes by attempting to do as much as possible with them.

 

Thank you for your time in reading,

Andy

Link to comment
https://forums.phpfreaks.com/topic/59450-some-practicle-uses-for-php-and-sockets/
Share on other sites

Unfortunately you need root perms to use ports numbers under 1024. Of course you could configure clients to use non-standard port numbers.

 

Anyhoe, if anyone's looking for a straightforward introduction into socket servers in PHP: http://devzone.zend.com/node/view/id/1086

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.