Hello, is there a solution to count the transmitted bytes? (in socket output stream, not file or array)
do you have an example of how to receive file with WriteStream in vb.net?
You did not follow @Erel's instructions.I'v made this, it work and send file, but the counter of countingStream is allways 0
Yet you used OutputStream and WriteBytes of the Socket class instead of InputStream and the WriteStream method of the AsyncStreams class (https://www.b4x.com/android/help/randomaccessfile.html#asyncstreams_writestream).1. Send a CountingInputStream with AStream.WriteStream.