TCP Keep Alive parameter problem

Hi,

I’m trying to configure some options on a TCPClient socket but I’m having some problems.

In my code, I have the following line to create a TCP Client channel:

[i]wip_channel_t client;

client = wip_TCPClientCreateOpts( “xxx.xxx.xxx”, TcpPort, TCPClientEvents, NULL, WIP_COPT_KEEPALIVE, 10, WIP_COPT_END);
[/i]

I want to configure the Keep Alive parameter. The client is created successfully, but after a few seconds I get the error:

“Unhandled exception in gprs_teste1_rte.dll (OATAPPLI.DLL): 0xC0000005: Access Violation.”

I already have configured other parameters without any problems. It seems that the issue is just with this parameter.

Any ideas about this? What could be wrong?

Thanks,

GG

PS: I’m testing in remote mode.

I am having the same problem. Does anyone have a solution for this problem?