I used SQLX for some db query and it is good. However for some security reason, I have to change to sockets. A separate php page will handle the db query.
SQLX is preferred because of the ThreadQuery. If I use socket, is there any way similar to SQLX, asynchronously receive and process the data?
Currently I can only find a way that uses a loop of socket_change. There is possible data loss if the buffer is overwritten, right? Do we have anyway to use socket in the same way as SQLX ThreadQuery?