We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UDP协议本身是支持0长度UDP包的,且我在工作中踩到过这个坑。 测试发现udp_echo_server.c不能收到0长度的UDP包,希望能支持一下,感谢!
The text was updated successfully, but these errors were encountered:
0长度的udp包,是指接收端不知道长度吗?
Sorry, something went wrong.
字面意义的0长度,这样发给接收端,接收端echo没任何打印 sendto(fd, "", 0, 0, &addr, sizeof(addr));
0长度的udp包,是指接收端不知道长度吗? 字面意义的0长度,这样发给接收端,接收端echo没任何打印 sendto(fd, "", 0, 0, &addr, sizeof(addr));
我知道你的意思了,就是发送0数据。
No branches or pull requests
UDP协议本身是支持0长度UDP包的,且我在工作中踩到过这个坑。
测试发现udp_echo_server.c不能收到0长度的UDP包,希望能支持一下,感谢!
The text was updated successfully, but these errors were encountered: