Class CTCPRelayHTTP::
ModifyReceiveString()
Base ClassesData ItemsConstructorsDestructorsFunctionsCustom CodeGo to hierarchy chart    Prev page: ~CTCPRelayHTTPNext page: operator =    Show member index
Protected Function Declared in:
TCPRelayHTTP.h

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

virtual std::string ModifyReceiveString(
    BOOL bIncoming,
    const char* pBuffer,
    unsigned short usBufferSize) const;

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

try
{
    //Only incoming
    if (!bIncoming)
        return "";

    //Convert to string
    std::string sData;
    sData=pBuffer;

    //Modify count
    int iModifyCount;
    iModifyCount=0;

    //Start to modify it
    while (ReplaceString(sData))
        ++iModifyCount;

    //Did we modify it
    if (iModifyCount)
        return sData;
    else
        return "";
}
ERROR_HANDLER_RETURN("ModifyReceiveString","")

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

Class Overview Class Overview  |  Public base class CTCPRelay  |  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.