![]() |
SetAsync() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| Protected Function |
Declared in: ICMPSocketAsync.h |
Declarationvirtual BOOL SetAsync();
DescriptionGo to async mode
Function Body
try
{
//Set event to read / write / close / oob
int iResult;
iResult=InternalWSAAsyncSelect(WM_SOCKET_GENERAL,
FD_WRITE | FD_READ);
//Is it OK?
if (iResult)
{
//Set socket error
SetLastError("SetAsync");
//Exit
return FALSE;
}
//Done
return TRUE;
}
ERROR_HANDLER_RETURN("SetAsync",FALSE)
See Also
This web site was generated
using Surveyor V4.50.811.1. Click
here
for more information. |
Site content copyright © 2003 Komodia LTD.. See the About page for additional notices. This page last updated: 24 Feb 2003. |