site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com I'm not sure what you are trying to accomplish here. When the socket is closed, any uninjected data should be discarded. -josh On Apr 26, 2006, at 4:31 PM, Eric Long wrote: Thanks, Eric _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com You are asking for a hook to use as a warning that the socket will close. Do you mean a hook before the client calls close on the socket? I'm not sure how one would predict such a thing. A hook after the client calls close seems useless because the client is done calling read, so there is no point in injecting data. If a socket filter swallows a packet but then its sf_detach_func() gets called before it has a chance to reinject the packet, it cannot at that point reinject the packet. What hook should be used to get advanced warning that the socket will close, so the filter can make sure and reinject the packet while it still can? _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/jgraessley% 40apple.com This email sent to jgraessley@apple.com smime.p7s
participants (1)
-
Josh Graessley