开发者

How does java send informations?

Tell me.

What heppens when I invoke Socket.getOutputStream.write(); then Socket.getOutputStream.flush(); ? Because when I want to send more than around 8162 bytes It sends only bytes which can be placed in this size. And next bytes aren't sent.

Explain me plea开发者_如何学Cse.


I don't do Java and I may be wrong but my suggestion would be that Socket has a buffer for outgoing data and that approximately 8162 bytes is it's maximum size and that data in excess of that amount would be truncated from the buffer and therefore would not be sent

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜