Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to send and receive structure using write() function in tcp communication
ecmanja last edited by
hello , i have a structure i need to send it to server from client using write() function can anyone help me to achieve this.
andreyc last edited by
You need to serialize your structure into a buffer and then deserialize it from the buffer on a reading side.
Take a look on Protocol Buffers.
qxoz last edited by
"This":http://qt-project.org/forums/viewthread/27706 thread might help you.