![]() |
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=WSAAsyncSelect(GetHandle(),GetWindowHandle(),WM_SOCKET_GENERAL,FD_WRITE | FD_READ); if (iResult) { CICMPSocket::SetLastError("SetAsync"); return FALSE; } return TRUE; } ERROR_HANDLER_AMBIG_RETURN(CSpoofSocket,"SetAsync",FALSE)
![]() |
Site content copyright © 2001 Barak Weichselbaum. See the About page for additional notices. This page last updated: 27 Jun 2001. |