~mateo-salta/nitroshare/nitroshare

« back to all changes in this revision

Viewing changes to src/file/CFileReceiver.cpp

  • Committer: Nathan Osman
  • Date: 2012-06-27 23:42:04 UTC
  • Revision ID: admin@quickmediasolutions.com-20120627234204-1b8ovnlmzbcipw08
Modified file transfer protocol to make it a little bit more robust.

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
            CFileHeader * header = m_headers.takeFirst();
60
60
            SaveFile(header, data);
61
61
            delete header;
 
62
 
 
63
            /* Let the client know they can send the next one. */
 
64
            SendStatus("continue");
62
65
        }
63
66
 
64
67
        /* If we have read all of the files, send the ACK back to the server. */