The DetachHandle method detaches the client handle
associated with the current instance of the class.
Return Value
This method returns the client handle associated with the
current instance of the class object. If there is no active client
session, the value INVALID_CLIENT will be returned.
Remarks
This method is used to detach a client handle created by the
class for use with the SocketTools API. Once the client handle is
detached from the class, no other class member functions may be
called. Note that the handle must be explicitly released at some
later point by the process or a resource leak will occur.
Requirements
Client: Requires Windows 7, Windows Vista or Windows
XP.
Server: Requires Windows Server 2008 or Windows Server
2003.
Header: Include cstools7.h.
Library: Use csdnsav7.lib.
See Also
AttachHandle, GetHandle
|