19 #ifndef INCLUDE_RCF_UDPENDPOINT_HPP 20 #define INCLUDE_RCF_UDPENDPOINT_HPP 26 #include <RCF/Export.hpp> 27 #include <RCF/IpAddress.hpp> 31 class ServerTransport;
32 class ClientTransport;
47 std::string getIp()
const;
49 std::string asString()
const;
52 void enableSharedAddressBinding(
bool enable =
true);
55 void listenOnMulticast(
const IpAddress & multicastIp);
58 void listenOnMulticast(
const std::string & multicastIp);
66 std::unique_ptr<ServerTransport> createServerTransport()
const;
67 std::unique_ptr<ClientTransport> createClientTransport()
const;
73 bool mEnableSharedAddressBinding;
78 #endif // ! INCLUDE_RCF_UDPENDPOINT_HPP Represents a UDP endpoint.
Definition: UdpEndpoint.hpp:35
std::shared_ptr< Endpoint > EndpointPtr
Reference counted wrapper for RCF::Endpoint.
Definition: RcfFwd.hpp:118
Base class for all network endpoint types.
Definition: Endpoint.hpp:41
Definition: AmiIoHandler.hpp:24
Represents an IP address (IPv4 or IPv6).
Definition: IpAddress.hpp:67