Jump to content

Binary Transfer over TCP


Wb-FreeKill
 Share

Recommended Posts

I've created this after reading another topic, and it works allmost perfekt :whistle:

How it works:

1: Run the Client først, and then run the Server... you can do this on the same PC

2: Chose which file you want to transfer and press Send. Now the Client will Enode the file into pure txt and send it to the server

3: Wait with the accept until the Client have encoded the txt file. Chose were to save the new file. Now it will transfer the file. When done, it will Decode the txt file into Binary again, and wupti you got a copy.

The bug:

The exe wont work, because somehow the transferred txt file size is one byte more than the original... were is that extra charator comming from? :dance:

Binary_Transfer.zip

Edited by Wb-FreeKill
Link to comment
Share on other sites

The bug:

The exe wont work, because somehow the transferred txt file size is one byte more than the original... were is that extra charator comming from?  :whistle:

What is the extra character?
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...