WFP socket close notifications

Hello all,

I’m trying to port a TDI driver to WFP and I can’t find a way to receive socket close notifications. I’m associating some data with each bound socket so it is really important for me to know when the socked is closed in order to free the data. I have found a couple of forum posts from some Microsoft employees which said that there is no way to do that and we will have wait for the next WFP version.

Is it true? And if yes, when will the next WFP version will be delivered? It seems retarded to me that no one working on this API though that being notified about socket close operations will be useful.

Thank you.

Hi.

Have you considered using ALE_FLOW_ESTABLISHED to manage your own state with
connections?

wrote news:xxxxx@ntdev…
> Hello all,
>
> I’m trying to port a TDI driver to WFP and I can’t find a way to receive
> socket close notifications. I’m associating some data with each bound
> socket so it is really important for me to know when the socked is closed
> in order to free the data. I have found a couple of forum posts from some
> Microsoft employees which said that there is no way to do that and we will
> have wait for the next WFP version.
>
> Is it true? And if yes, when will the next WFP version will be delivered?
> It seems retarded to me that no one working on this API though that being
> notified about socket close operations will be useful.
>
> Thank you.
>

Hi,

I have, but it is not enough. I need to know that a socket is bound before any flow is established. I do my allocations inside ALE_ALLOCATE_RESOURCES. But there isn’t a corresponding ALE_FREE_RESOURCES.

OK, I’ve looked everywhere. It seems there is now way. I guess WFP is not a complete replacement for TDI yet.