| CICMPSocketAsync:: Create() |

Public Function | Declared in: ICMPSocketAsync.h

## Declaration

    virtual BOOL Create();

## Description

Create the ICMP socket

## Function Body

    try
    {
        if (!CICMPSocket::Create())
        {
            CICMPSocket::ReportError("Create","Failed to create ICMP socket!");
            return FALSE;
        }

        AddSocketToList();

        return SetAsync();
    }
    ERROR_HANDLER_AMBIG_RETURN(CSpoofSocket,"Create",FALSE)

## See Also

Class Overview | CICMPSocket | 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.