Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QT socket programming send and recieve not working immedialtey.
drdas last edited by
I have a client and server.
whenever client write data server readyRead is being called and there i am receiving client data.
client can send data at any time and as much.
problem is all the data sent by client are getting buffered and at last ther server has recieved all data.
instead what i need is, as soon as client sends, server shld recieve it which i will use and later client has to send if any.
Please explain with a working example
ankursaxena last edited by
I think u should not send all the data at a time, If it is a large amount of data.
U should send it parts and send less data at a time. So data reaches to server , it should be written. May be it works