| CAsyncSocket |

Custom Code in Header After Includes | Declared in: AsyncSocket.h

## Custom Code

    //Message handlers
    #define WM_BASE             WM_USER
    #define WM_SOCKET_GENERAL   WM_BASE+1
    #define WM_SOCKET_ACCEPT    WM_BASE+2
    #define WM_SOCKET_CONNECT   WM_BASE+3
    #define WM_SOCKET_TIMEOUT   WM_BASE+4

    //Definitions for no messaging
    #define NO_OnSocketTimeout  virtual BOOL OnSocketTimeout() {return TRUE;}
    #define NO_OnSocketConnect  virtual BOOL OnSocketConnect(int iErrorCode) {return TRUE;}
    #define NO_OnSocketAccept   virtual BOOL OnSocketAccept(int iErrorCode) {return TRUE;}
    #define NO_OnSocketClose    virtual BOOL OnSocketClose(int iErrorCode) {return TRUE;}
    #define NO_OnSocketOOB      virtual BOOL OnSocketOOB(int iErrorCode) {return TRUE;}
    #define NO_OnSocketWrite    virtual BOOL OnSocketWrite(int iErrorCode) {return TRUE;}
    #define NO_OnSocketReceive  virtual BOOL OnSocketReceive(int iErrorCode) {return TRUE;}
    #define SOCKET_WINDOW_NAME "Socket notification sink"

    //Window class name
    #define CAsyncSocket_Class "CAsyncSocketClass"
    #define CAsyncShutdown_Class "CAsyncShutdown"
    class CSocketThreadManager;

## See Also

Class Overview | CSpoofBase | Hierarchy Chart

This web site was generated using Surveyor V4.50.811.1. Click here for more information. | Site content copyright © 2001 Barak Weichselbaum. See the About page for additional notices. This page last updated: 27 Jun 2001.