View Full Version : file transfer oer a network using tcp sockets in QT mobile application

11th February 2011, 04:19
i need help..

an someone give me an idea on how i can start modifying the client and server application so that i can send a file to another device.

the application only sends a string
all i know is that i should be able to browse and load the file, have it chunked so that i can transmit it over a network.. but i don't know how to do that.

i am a complete newbie in qt programming.
this is my senior project.
anyone, please help me

11th February 2011, 04:32
Assuming the sender and receiver are existing Qt programs...

QFile, QTCPSocket, QByteArray, and QDataStream are worth a look in the manual.