Class CSpoofBase::
SetLastError()
Data ItemsConstructorsDestructorsFunctionsCustom CodeGo to hierarchy chart    Prev page: ReportStaticErrorNext page: SetLastError    Show member index
Protected Function Declared in:
SpoofBase.h

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

void SetLastError(
    LPCSTR lpMethod) const;

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

Set the socket last error

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

try
{
#ifdef WIN32
    //First set the error
    m_LastError=WSAGetLastError();
#else
    m_LastError=errno();
#endif

    //Check if there is an error
    if (m_LastError)
        ReportError(m_lpClassName,m_LastError);
}
ERROR_HANDLER("SetLastError")

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

Class Overview Class Overview  |  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 © 2001 Barak Weichselbaum. See the About page for additional notices. This page last updated: 27 Jun 2001.