Wessel
Member
Hello,
I made a little socket wrapper class for a file transfer program. If i test the transfer locally (so on my own computer) data is transferred and received perfectly. But if i try it over a network, it seems data is not received properly.
For example, i used pictures for the transfer data, if i did it locally, the original and transferred file were identical while the pictures transferred over network were all scrambled and not correct. Does anyone have a solution for this? Perhaps a little header for each packet?
I made a little socket wrapper class for a file transfer program. If i test the transfer locally (so on my own computer) data is transferred and received perfectly. But if i try it over a network, it seems data is not received properly.
For example, i used pictures for the transfer data, if i did it locally, the original and transferred file were identical while the pictures transferred over network were all scrambled and not correct. Does anyone have a solution for this? Perhaps a little header for each packet?