| CICMPSocketAsync:: Close() |

Public Function | Declared in: ICMPSocketAsync.h

## Declaration

    virtual BOOL Close();

## Description

Close the socket

## Function Body

    try
    {
        //Quit if not ok
        if (!ValidSocket())
            return FALSE;

        //Kill the timer
        CAsyncSocket::SocketClosing();

        //Remove from socket list
        RemoveSocketFromList();

        return CICMPSocket::Close();
    }
    ERROR_HANDLER_AMBIG_RETURN(CSpoofSocket,"Close",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.