| CSpoofSocket:: CheckSocketValid() |

Protected Function | Declared in: SpoofSocket.h

## Declaration

    BOOL CheckSocketValid() const;

## Description

Check this socket is valid

## Function Body

    try
    {
        //Check if socket is invalid
        if (!ValidSocket())
        {
            ReportError("CheckSocketValid","Operation made on non existant socket!");
            return FALSE;
        }

        //OK
        return TRUE;
    }
    ERROR_HANDLER_RETURN("CheckSocketValid",FALSE)

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