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:
client = wip_TCPClientCreateOpts( “xxx.xxx.xxx”, TcpPort, TCPClientEvents, NULL, WIP_COPT_KEEPALIVE, 10, WIP_COPT_END);
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?
PS: I’m testing in remote mode.