TCP File Transfer



I am trying to write a program to send large files via TCP. I
was wondering if there was a code example or book that demonstrates
how to write a simple file transfer program of large files (5-10
megs). I can make a simple chat program sending simple text.
However, I want to be able to send larger data like the file transfer
in the MSN Messenger.


Fergus Cooney

Hi Chris,

I have no code or book recommendations, I'm afraid.

I'm wondering, though, what issues you are expecting to have to deal with.
You have the TCP connection and sending working from your previous app. What's
next for you? Where do you see the challenges?

I do recommend that you study Threading. You'll be needing it so that your
file transfer pump can operate without hindering your UI.


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question