![]() |
SetAsync() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Protected Function |
Declared in: ICMPSocketAsync.h |
virtual BOOL SetAsync();
Go to async mode
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)
![]() |
Site content copyright © 2003 Komodia LTD.. See the About page for additional notices. This page last updated: 24 Feb 2003. |