Hi there,
I have the following scenario:
I open a connection with fsockopen() and send a xml file to a query script on the opened connection. ( fputs() )
Then I receive the answer with
while(!feof())
fgets()
But is seems a little bit slow to me.
One query is aprox 1 seocond (from fsockopen - fclose) . I dont think that the query itself on the remote computer costs much time. The ping to the remote computer from the server where my script is running, is aprox. 120ms.
Is there a way to speed things up? I tried to set the blocking mode, but I could not notice any difference.
Thanx
S.