Sign in to follow this  
Followers 0
Wb-FreeKill

Binary Transfer over TCP

3 posts in this topic

#1 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites



Anyone sees the problem, or even gets the same error?

Share this post


Link to post
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?

Share this post


Link to post
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
Sign in to follow this  
Followers 0