未分類 16 4 月 2021 Linux C UDP socket 中如何让其立即发包? Linux C UDP socket 中如何让其立即发包? 資深大佬 : Erichailong 1 想使用UDP发包测试延迟,特别精准的那种,希望每次发包后立即发送,不缓存。 大佬有話說 (1) 資深大佬 : zhengxiaowai Datagrams can be sent immediately using sendto(2) or sendmsg(2) with a valid destination address as an argument. https://man7.org/linux/man-pages/man7/udp.7.html