netutils
netutils copied to clipboard
IoT networking utilities for RT-Thread. Such as: ping, tftp, iperf, netio, ntp, telnet and tcpdump.
'telnet_write' function without sending data to telnet client, that 'telnet_write' can be using between 'rt_enter_critical();' and 'rt_exit_critical();' Set socket 1 second timeout to send data to telnet client.
https://club.rt-thread.org/ask/question/435139.html
 
 见上图,发现每次NTP其实都是使用的第一个服务器dns出来的IP。我看了半天代码,没看出来为什么? 我使用的是AT组件,AT设备是SIM7600, SIM7600的DNS部分,我跟了代码,发现IP是获取到了。 另外,我发现当获取ntp失败时,堆栈会溢出,当前的1.5K不够用,我是将1.5K乘2以后,发现ntp失败不会死机的。
iperf 有并发测试的需求,一些场景下会使用到。
RTT的TFTP作为服务端,linux使用TFTP工具当作客户端上传文件到RTT 文件系统根目录时,显示上传成功。 再RTT的文件系统根目录也可以看见改文件,cat文件后内容也正常,但是使用open API 以绝对路径打开(/filename)打开该文件返回-1. 原因是保存文件到根目录时的判断对象错误,修改为full_path后测试正常  
能否增加UDP TX测试的-b带宽参数的设置.