netTCP_Close() does not generate a callback event

Hi,

My application is calling netTCP_Close() but does not receive the callback event. My application waits for 2 minutes before giving up. Other TCP callback events seem to work, but not netTCP_Close(). Also it sometimes gets stuck in the netTCP_Close() function for approx. 30s - most times it returns instantly but with no callback event.

Any idea on what causes this?

Thanks

Please ignore. I've just read documentation and it states that no callback event is generation if called locally. Callback only called if closed by peer.