Open Search
    NetworkIpConnection Class Reference

    #include <c4d_network.h>

    Public Member Functions

    void GetRemoteAddr (NetworkIpAddrPort &ipaddr) const
     
    void GetHostAddr (NetworkIpAddrPort &ipaddr) const
     

    Private Member Functions

     NetworkIpConnection ()
     
     ~NetworkIpConnection ()
     

    Constructor & Destructor Documentation

    ◆ NetworkIpConnection()

    NetworkIpConnection ( )
    private

    ◆ ~NetworkIpConnection()

    ~NetworkIpConnection ( )
    private

    Member Function Documentation

    ◆ GetRemoteAddr()

    void GetRemoteAddr ( NetworkIpAddrPort ipaddr) const

    Retrieves the remote IP address + port for the connection.

    Parameters
    [out]ipaddrThe remote IP address + port.

    ◆ GetHostAddr()

    void GetHostAddr ( NetworkIpAddrPort ipaddr) const

    Retrieves the host IP address + port for the connection.

    Parameters
    [out]ipaddrThe host IP address + port.