Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何将COMMTIMEOUTS配置为永远等待至少一个字节被读取?
我通过将读取包装在一个while循环中解决了这个问题。如果没有读取任何字节,我会重复该操作。