Unsolved QudpSocket
-
Hi friends,
can anybody tell how to send list of files in directory to Qudpsocket.And some example.
-
Hi
For how to use QudpSocket
https://www.bogotobogo.com/Qt/Qt5_QUdpSocket.php
and
https://forum.qt.io/topic/64817/how-to-read-all-files-from-a-selected-directory-and-use-them-one-by-one
(answer by @the_ )There is no concept of files, so you need somehow tell the receiver under what file name to store the data.
Also, you should be aware that QUdpSocket is not optimal for files.
https://forum.qt.io/topic/37498/transferring-file-over-qudpsocket -
@satyanarayana143
Proposing to use UDP sockets for what you say would be "unusual". Do you want to explain what you are actually trying to achieve?