阅读背景:

是否有一种非阻塞方法来检查数据的速度比select()和poll()更快?

来源:互联网 

I have a C program sending data as fast as it can using the sendto() method from the sender to the receiver which receives with recvfrom() method. The data is encapsulated into layer 2 Ethernet frames and the application is writing Ethernet frames directly on to the wire (no TCP or UDP or even IP). This is on x86_64 Linux (dev machines are just stock Ubuntu 14.04). I have no intention of porting to any other OS, the application design scope is for Linux so other OSes don't matter.I have a C program sending data as fast as it c




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: