![]() |
CheckAsyncSocketValid() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Private Function |
Declared in: AsyncSocket.h |
BOOL CheckAsyncSocketValid() const;
Check if the socket is valid
try { //Check if socket is invalid if (GetAsyncHandle()==INVALID_SOCKET) { //Report it ReportError("CheckAsyncSocketValid","Operation made on non existant socket!"); //Exit return FALSE; } //OK return TRUE; } ERROR_HANDLER_RETURN("CheckAsyncSocketValid",FALSE)
![]() |
Site content copyright © 2003 Komodia LTD.. See the About page for additional notices. This page last updated: 24 Feb 2003. |