l have a php script writing to TCP socket.
This connection needs to be always one as it can receive data anytime from the server.
Now problem is only the first instance of socket_write works.
i need to keep reading and writing data to the socket
Just to clarify l have tried to catch the error but no error is returned