Jump to content

Some practicle uses for php and sockets..?


AbydosGater

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.