Class CSpoofSocket::
InitializeIP()
Base ClassesData ItemsConstructorsDestructorsFunctionsCustom CodeGo to hierarchy chart    Prev page: HasOptionsNext page: InternalResolveDNS    Show member index
Protected Function Declared in:
SpoofSocket.h

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

virtual void InitializeIP();

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

initialize all the private memebers

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

try
{
    //Invalid the socket
    m_aSpoofSocket=INVALID_SOCKET;

    //More invalids
    m_ulSourceAddress=0;

    //Some defaults
    m_ucTTL=IP_DEF_TTL;

    //Set our options
    m_pIPOptions=NULL;

    //Not sniffing
    m_bSniffing=FALSE;

    //We are not overlapped
    m_bOverlapped=FALSE;

    //Not connected
    memset(&m_aConnectedTo,
           0,
           sizeof(m_aConnectedTo));

    //Set options to false
    SetOptions(FALSE);
}
ERROR_HANDLER("InitializeIP")

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

Class Overview Class Overview  |  Public base class CSpoofBase  |  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.