开发者

Java Socket TCP Maximum Segment Size

开发者 https://www.devze.com 2022-12-13 06:55 出处:网络
Is there a possibility to read ou开发者_运维百科t the TCP \"MSS\" option header of a Connections SYN packet or is this buried too deep in layers of layers of layers ?

Is there a possibility to read ou开发者_运维百科t the TCP "MSS" option header of a Connections SYN packet or is this buried too deep in layers of layers of layers ?

Thanks


I'm pretty sure the latter is the case. You're shielded against the workings of the TCP stack by a platform-independent layer. Doing otherwise would make Java less portable.

If you insist, you have the option of doing socket I/O via JNI.

0

精彩评论

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