Jump to content

PHP TCP socket application - don't know where to start


Tabor.Carlton

Recommended Posts

I'm trying to do something I've never done here, and don't know where to begin.  I am building an application that communicates with simple xml calls back and forth to a remote server over TCP, and I've made the assumption that PHP socket functions will accomplish this. 

 

When I log onto the remote IP address through fsockopen I get the information I'm expecting, but I need to write some information back in xml format, but nothing I'm doing is working.  So far I've tried putting the incoming data in an array (which works), and then I use the info I need out of that and use fwrite to send data back.  I am not getting anything in return and just wonder if I am even on the right track.

 

Any help is GREATLY appreciated.

 

Thanks,

 

Tabor Carlton

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.