TCP Channel closure resource

Hello all,

OS Firmware 7.2
WIP Plugin 5.0.0.2040

I am using the wip_TCPClientCreateOpts function to create a TCP channel over GPRS, I am utilising the WIP_COPT_FINALIZER call back to tell me when the channel has been closed. To close this channel I am using the wip_close function.

I believe I am getting into a situation whereby the closed channel has not been closed properly by the server side leaving the connection in the device in a FIN_WAIT_2 state.

Questions:

  • How long does this state remain for in the device and is this time
    configurable, and,

  • After processing the WIP_COPT_FINALIZER routine I would like to
    know if it is at all possible to determine if all resources for that closed
    channel have been released. Is this possible, if so how?

Regards

B

See my reply :
[url]https://forum.sierrawireless.com/t/tcp-connection-closure/5325/1]