Timeout setting of opening TCPClientCreate

Hi brothers,

If I tried calling wip_TCPClientCreate( ) towards a out-of-order TCP server, there need up to few minutes before my handler getting WIP_CERR_TIMEOUT message.

Do anyone know if I can shorten the time of getting error message ?

Some problem!
Please help!

Hi,

what about:

  • setting up a timer when you create the channel
  • when the timer is triggered, if the connection is still not established (you can tell because you never received WIP_CEV_OPEN, or can simply check that wip_getState() doesn’t return WIP_CSTATE_READY), close it with wip_close(), and do whatever you want to do upon connection failure?