问题描述
我在TCP / IP通信中发现了一些奇怪的问题。
据我所知,在TCP / IP通信中,检查发送的所有数据包是否正确地从发送方到达接收方。并且在UDP通信中检查过程被省略。
但我发现TCP / IP检查例程不起作用。
我正在使用TCP开发客户端和NodeJS服务器之间的通信程序/ C ++的IP协议。
但有时,数据包不会发送到服务器或客户端。
当网络繁忙或许多客户端尝试与服务器通信时会出现这些问题。
谁能告诉我为什么?
I found some strange problems in TCP/IP communication.
As I know, in TCP/IP communications all the packets sent are checked whether they are correctly arrived to receiver from sender. And in UDP communications checking process is omitted.
But I found that TCP/IP checking routine does not work.
I am developing communication program between client and NodeJS server using TCP/IP protocol by C++.
But sometimes, packets are not sent to server or to client.
These problems occur when network is busy or many clients try to communicate with server.
Who can tell me why?
这篇关于我发现了奇怪的问题。谁能告诉我为什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!