我现在想实现一个功能,就是将串口到标准控制台的输出通过UDP上报到PC,我现在是通过将程序的输出重定向到一个文件,然后后台程序不断的读取这个文件,但是现在发现不是实时的,就是隔一会儿输出一大堆,有没有什么好办法,谢谢
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
我现在想实现一个功能,就是将串口到标准控制台的输出通过UDP上报到PC,我现在是通过将程序的输出重定向到一个文件,然后后台程序不断的读取这个文件,但是现在发现不是实时的,就是隔一会儿输出一大堆,有没有什么好办法,谢谢