| CSniffSocket:: Create() |

Public Function | Declared in: SniffSocket.h

## Declaration

    BOOL Create();

## Description

Create the socket

## Function Body

    try
    {
        SetProtocol(IPPROTO_IP);
        if (CSpoofSocket::Create(IPPROTO_IP))
        {
            AddSocketToList();
            return TRUE;
        }
        else
            return FALSE;
    }
    ERROR_HANDLER_AMBIG_RETURN(CSpoofSocket,"Create",FALSE)

## See Also

Class Overview | CSpoofSocket | CAsyncSocket | 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.