gibbonuk Posted September 29, 2011 Share Posted September 29, 2011 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 Quote Link to comment https://forums.phpfreaks.com/topic/248094-php-sockets-need-some-advise/ Share on other sites More sharing options...
xyph Posted September 29, 2011 Share Posted September 29, 2011 You could try running a demo socket server on your machine? http://sockettest.sourceforge.net/ Quote Link to comment https://forums.phpfreaks.com/topic/248094-php-sockets-need-some-advise/#findComment-1274092 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.