File Upload to Non Browser/Node Client

18 views
Skip to first unread message

Grant MacDonald

unread,
Mar 7, 2016, 9:23:43 PM3/7/16
to nodejs
Hi folks.  I am using node.js on the server and a product called QT on a Linux client (C++.)  The server and client are communicating great using TCP Sockets.  I'm trying to figure out the best way for the server to send a file to the client.  I could open the file on the node.js server side and send a block of data at a time over the socket connection to the client, however, I'm wondering if there is a better way to do it.  File size transmitted will usually be about 1mb in size.

Thanks. Grant.
Reply all
Reply to author
Forward
0 new messages