Class CUDPRelay::
CClientSocket::SendData()
Base ClassesData ItemsConstructorsDestructorsFunctionsCustom CodeGo to hierarchy chart    Prev page: CClientSocket::OnSocketTimeoutNext page: CClientSocket::~CClientSocket    Show member index
Private Function
(Not Declared)
Declared in:
UDPRelay.h

'Declaration' icon -- Shortcut to top of page. Declaration

int CClientSocket::SendData(
    const char* pBuffer,
    unsigned long ulBufferSize);

'Function Body' icon -- Shortcut to top of page. Function Body

try
{
    //Do we have a timer
    if (m_pFather->GetTimeout())
        //Set it
        if (!SetTimeout(m_pFather->GetTimeout()))
            //Report it
            ReportError("SendData","Failed to set timeout!");

    //Send the data
    return Send(m_usLocalPort,
                m_pFather->GetTarget(),
                m_pFather->GetTargetPort(),
                pBuffer,
                ulBufferSize);
}
ERROR_HANDLER_RETURN("SendData",GetErrorCode())

'See Also' icon -- Shortcut to top of page. See Also

Class Overview Class Overview  |  Public base class CRelay  |  Hierarchy Chart Hierarchy Chart


Get Surveyor!This web site was generated using Surveyor V4.50.811.1.  Click here for more information. Site content copyright © 2003 Komodia LTD.. See the About page for additional notices. This page last updated: 24 Feb 2003.