Class CWhoisSocket::
Create()
Base ClassesData ItemsConstructorsDestructorsFunctionsCustom CodeGo to hierarchy chart    Prev page: AnalyzeAddressNext page: CWhoisSocket    Show member index
Public Function Declared in:
WhoisSocket.h

'Declaration' icon -- Shortcut to top of page. Declaration

virtual BOOL Create();

'Description' icon -- Shortcut to top of page. Description

Create this socket as a regular socket

'Function Body' icon -- Shortcut to top of page. Function Body

try
{
    //Try to create it
    if (CTCPSocketAsync::Create())
    {
        if (!m_bAsync)
        {
            if (!ReBlock())
            {
                //Report it
                ReportError("CreateRegular","Failed to reblock!");

                //Exit
                return FALSE;
            }

            //Set it on the receive
            if (!SetReceiveTimeout(m_dwTimeout))
            {
                //Report it
                ReportError("CreateRegular","Failed to set timeout!");

                //Exit
                return FALSE;
            }
        }

        //Done
        return TRUE;
    }
    else
        return FALSE;
}
ERROR_HANDLER_RETURN("Create",FALSE)

'See Also' icon -- Shortcut to top of page. See Also

Class Overview Class Overview  |  Public base class CTCPSocketAsync  |  Hierarchy Chart Hierarchy Chart


Get Surveyor!This web site was generated using Surveyor V4.50.811.1.  Click here for more information. Site content copyright © 2003 Komodia LTD.. See the About page for additional notices. This page last updated: 24 Feb 2003.