![]() |
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) { ReportError("CheckAsyncSocketValid","Operation made on non existant socket!"); return FALSE; } //OK return TRUE; } ERROR_HANDLER_RETURN("CheckAsyncSocketValid",FALSE)
![]() |
Site content copyright © 2001 Barak Weichselbaum. See the About page for additional notices. This page last updated: 27 Jun 2001. |