Great article on High Scalability entitled Revisiting Network I/O APIs: The netmap Framework. Get the paper they reference here.
As network performance continues, the bottleneck will become the amount of time spent in moving packets between the wire (hardware) and the application (software) and vice versa. The netamp framework is an interesting approach to address this.