Detecting socket disconnection (Async?)
From: Adam Clauss (cabadam_at_tamu.edu)
Date: 04/16/04
- Next message: Andreas Håkansson: "Re: Detecting socket disconnection (Async?)"
- Previous message: Paul E Collins: "Re: Always focused ToolBox..."
- Next in thread: Andreas Håkansson: "Re: Detecting socket disconnection (Async?)"
- Reply: Andreas Håkansson: "Re: Detecting socket disconnection (Async?)"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 16 Apr 2004 15:41:09 -0500
There seems to be various methods to determine when the remote client disconnects, but all of them I have seen are Synchronous.
AKA: Right before you try to send or receive data, check.
Is there no way to do raise an event for this? That way you know as soon as the client disconnects?
There are events for Accepting, Connecting, Receiving, Sending... why not one for disconnecting?
-- Adam Clauss cabadam@tamu.edu
- Next message: Andreas Håkansson: "Re: Detecting socket disconnection (Async?)"
- Previous message: Paul E Collins: "Re: Always focused ToolBox..."
- Next in thread: Andreas Håkansson: "Re: Detecting socket disconnection (Async?)"
- Reply: Andreas Håkansson: "Re: Detecting socket disconnection (Async?)"
- Messages sorted by: [ date ] [ thread ]