I am using an Q2686 processor with the following:
WIP plugin 22.214.171.1240 or 126.96.36.1990
Can someone tell me what is the correct procedure to close a TCP socket created with ‘wip_TCPClientCreateOpts’?
I am managing to open the port successfully but when I try to close it tidily with ‘wip_close’ i receive a WIP_CERR_INVLAID (-994) error. I do understand this error in the fact that it suggests that I have supplied a NULL channel type but the fact is I have not. What follows is a section of my debug output:
[TASK] - MessageTimeSlot: CLOSING TCP
[TCP] - TCP_Close: Channel: 0x180ca8a8
[TCP] - TCP_Close: FAILED: -994
This clearly shows that the channel is not of a NULL type.
Any help would be usefull.