RCFProto

- Main Page
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Functions Typedefs
Public Member Functions | List of all members
RCF::TcpEndpoint Class Reference

Represents a TCP endpoint. More...

`#include <TcpEndpoint.hpp>`

Inheritance diagram for RCF::TcpEndpoint:

## Public Member Functions
| TcpEndpoint (int port)
| Constructs a TcpEndpoint from a port number. The IP address defaults to 127.0.0.1 .
| TcpEndpoint (const std::string &ip, int port)
| Constructs a TcpEndpoint from an IP address and port number.
std::string | getIp () const
| Gets the IP address of the TcpEndpoint.
int | getPort () const
| Gets the port number of the TcpEndpoint.
std::string | asString () const
| Returns a string representation of the TcpEndpoint.

## Detailed Description

Represents a TCP endpoint.

The documentation for this class was generated from the following file:

- TcpEndpoint.hpp