blob: 4c8fc619c2ec2740ad29cdb3bbbf293760eeb3ad (
plain)
1
2
3
4
5
6
7
8
|
* TODO Rename Ext,Extension -> Cap
* TODO Use System.IO instead of Network.recv/send
The functions in System.IO use GHC/base's built in support for epoll/kqueue
and the like which makes them a whole lot more efficient for file descriptor
I/O. Network.recv/send on the other hand just use a plain FFI call to
recvmsg/sendmsg which will block the whole OS thread.
** TODO Compare performance of the two
|