IOCP Socket Timeout Problem..

  • Thread starter Thread starter onlyjaypatel
  • Start date Start date
O

onlyjaypatel

We have developed one IOCP server Application.
We got a socket close event when client application (safe/unsafe)
close.
But when client machine restarts or network cable unplugged we can not
get
any event of the socket close.

We have also tried to set socket timeout with setsockopt() ,but its
not working with IOCP.

So ,Is there any method to get close event for this sockets? or any
other method to set
timeout in IOCP.

Thank you.
 
We have developed one IOCP server Application.


What do you mean by "IOCP server Application"


We got a socket close event when client application (safe/unsafe)
close.
But when client machine restarts or network cable unplugged we can not
get
any event of the socket close.

We have also tried to set socket timeout with setsockopt() ,but its
not working with IOCP.


Can you show sample code that fails?


Mark
 
Back
Top