Hi ,
Can anyone please tell me how to pass a struct thru a QTcpSocket!
the struct is like this for eg
Qt Code:To copy to clipboard, switch view to plain text mode
the tcpsocket->write method accepts only qbytearray as the data to send. so can u please tell me how to convert a struct into a qbytearray or
is there anyother method to send this data to the server.
i use QT4.2.2 in linux kernel version 2.6
--
thnks ..




Reply With Quote
Bookmarks