Explanation of my thought...

ibuddy (阿罗)
2) should be the most usually expected result since it occurs when there is no socket connection failures/exceptions; especially when both Client/Server are local, there'd least likely be any issues. 1) appears when connection is slow/delayed; it'll also appear if you switch the setup of delay in the servlets. 3) or 4) occurs when there is a connection failure causing exception.

This scenario would have been more distinctive if we had connected to remote URL/servlets.
2001-11-18 -04:00
This post has been archived. It cannot be replied.
Page address has been copied. To share, click to copy page address.
Share Online by QR Code

Back To Topic: 一个简单的JAVA程序:(multi-threading)

Back To Forum: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论