Class CTCPRelayHTTP::
Relay()
Base ClassesData ItemsConstructorsDestructorsFunctionsCustom CodeGo to hierarchy chart    Prev page: RelayNext page: ReplaceString    Show member index
Public Function Declared in:
TCPRelayHTTP.h

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

virtual BOOL Relay(
    IP aBindAddress,
    unsigned short usBindPort,
    IP aDestinationAddress,
    unsigned short usDestinationPort);

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

try
{
    //Are we running
    if (IsRunning())
        return FALSE;

    //Save the addresses
    m_sBindAddress=CSpoofBase::LongToStdString(aBindAddress);
    m_sTargetAddress=CSpoofBase::LongToStdString(aDestinationAddress);

    //Delegate the call
    return CTCPRelay::Relay(aBindAddress,
                            usBindPort,
                            aDestinationAddress,
                            usDestinationPort);
}
ERROR_HANDLER_RETURN("Relay",FALSE)

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