Jump to content

PHP sockets need some advise.


gibbonuk

Recommended Posts

Hi, im trying to learn about socket in PHP but unfortunatly not getting anywhere fast.

 

The main issue is, the reason i want to learn about them is for use on a project where i will be connecting to a server, not actually being one.

 

So although i am interested in the server part, its not essential. But to test my php socket code, i need something to connect to for debugging?

 

So i have tried to create (from tutorials) a php server but not had any luck at all, can anyone advise me on where to start here?

 

I basically want a way to send a command from a php file over TCP/IP, but for now just want it to bounce back or get a response, is there any test servers out there or do i have to create one?

 

I have my own windows web server running here next to me for all my testing.

 

Thanks

Andy

Link to comment
https://forums.phpfreaks.com/topic/248094-php-sockets-need-some-advise/
Share on other sites

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.