Loading...
The house made of wood2020/4/14Buildings produce a huge amount of carbon. Using more wood would be greenerThe second little pig was unlucky. He built his house from sticks. It was blown away by a h...
TCP本身并没有长短连接的区别,长短与否,完全取决于我们怎么用它。短链接Client向server发送消息,server回应client, 完成了一次读写,这时候双方任意一方都可以发起close操作(一般是由client发起)。短链接一般只进行一次读写操作。长连接client与server完成一次读写后, 他们之间的连接不会主动关闭,后续的读写操作继续使用这个链接。长连接的应用场景中,cli...