Clients that use persistent connections SHOULD limit the number of simultaneous
connections that they maintain to a given server. A single-user client SHOULD
NOT maintain more than 2 connections wit
我有一個名爲「clientSock」的套接字。它已連接並正在工作。 我收到使用一個線程循環的數據,如下所示: char[] inputChars = new char[1024];
int charsRead = 0;
while (!stopNow) {
try {
if ((charsRead = inputStream.read(inputChar