阅读背景:

在java中使用TCP通过字节数组传输二进制文件

来源:互联网 

I am trying to transfer a binary file from the server to the client by blocks of bytes at a time. However, I am having a issue where it is stuck at transfering 8kb. The file is usually greater than a 1mb and the byte array is of size 1024. I believe it has to do something with my while loop since it doesnt close my connection. Any help? ThanksI am trying to transfer a binary file from the




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: