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
Share on other sites

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.