| CSpoofSocket:: InitializeIP() |

Protected Function | Declared in: SpoofSocket.h

## Declaration

    virtual void InitializeIP();

## Description

initialize all the private memebers

## Function Body

    try
    {
        //Invalid the socket
        m_SpoofSocket=INVALID_SOCKET;

        //More invalids
        m_SourceAddress=NULL;

        //Some defaults
        m_TTL=IP_DEF_TTL;

        //We don't want raw header (so it can work on win 98/NT)
        m_Raw=FALSE;

        //Set our options
        m_IPOptions=NULL;

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

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

## 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.