I am writing a PHP web app that needs to make a socket connection to a payment server.
The flow works like this
open socket
set socket blocking 0
send data OK
receive data OK
send moredata OK
It now fails with a feof and I cannot go onto receive moredata
I am using the same function to receive the data the second time as did the first time.
4 days later I am at breaking point I have had enough Please help
Lee