| CTCPSocket:: Send() |

Public Function | Declared in: TCPSocket.h

## Declaration

    BOOL Send(
        const char* buf,
        int bufLen);

## Description

Send data over the sockets

## Function Body

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

        //Send the data
        int iResult;

        //And send it
        iResult=send(GetHandle(),buf,bufLen,NULL);

        return iResult;
    }
    ERROR_HANDLER_RETURN("Send",FALSE)

## See Also

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