Jump to content

TCP Sending Files?


Recommended Posts

I just modified larry's example to send a file from the server to the client, but it gets chopped off at around 500 bytes in length. I don't have time to modify it to send the data in smaller chunks, but it would be pretty easy.

To use it, type 'fsend' on the server, and pick a text file, then click ok. When you close the client, it will write the first ~500 bytes of the server's text file to a file called "proofofconcept.txt" on your desktop...

TCP_server_client.rar

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...