Can i do this in PHP???
Posted: Wed Jul 29, 2009 12:14 am
Hi,
I want to know that whether i am able to implement that functionality in PHP or not. Here is my requirement
1) The website will send a request to an IP address (Debian box port 9005) and update the results after every minute
2) The machine(debian box) will provide xml data in response of your request
Here is the procedure to send and receive request
(a) open a socket for the IP & Port
(b) read the 1st 4 bytes to determine the length of the content.
(c) read the content with the server's response length -> this is your response
The current system is working on JAVA technology.
Can i implement the same task in php
Waiting for suggestions
Eshban
I want to know that whether i am able to implement that functionality in PHP or not. Here is my requirement
1) The website will send a request to an IP address (Debian box port 9005) and update the results after every minute
2) The machine(debian box) will provide xml data in response of your request
Here is the procedure to send and receive request
(a) open a socket for the IP & Port
(b) read the 1st 4 bytes to determine the length of the content.
(c) read the content with the server's response length -> this is your response
The current system is working on JAVA technology.
Can i implement the same task in php
Waiting for suggestions
Eshban