Supporting non-blocking sends in a socket filter NKE
Supporting non-blocking sends in a socket filter NKE
- Subject: Supporting non-blocking sends in a socket filter NKE
- From: Ryan Weedon <email@hidden>
- Date: Mon, 5 Jul 2010 14:30:36 -0400
- Acceptlanguage: en-US
- Thread-topic: Supporting non-blocking sends in a socket filter NKE
I have an NKE that uses a socket filter to intercept TCP data
sent by applications.
I am trying to figure out how to deal with the case where an
application sets a socket to be non-blocking, and then sends data faster than
the NKE can handle it. The filter can just return EAGAIN/EWOULDBLOCK at this
point, but I don’t know how to signal at some point later the socket is
again available for writing. Is this possible?
Regards,
Ryan Weedon
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden