The transferred method is called even if the bytes haven't been transferred yet.
Here is a fix : http://www.diffnow.com/?report=49p07
"prevL" is used because the first .write() only write into the socket's buffer.
If prevL isn't used, the method transferred's comment should be : "Argument is the packet size which is currently being uploaded"
Log in to post a comment.