18 #ifndef INCLUDE_RCF_UDPENDPOINT_HPP 19 #define INCLUDE_RCF_UDPENDPOINT_HPP 25 #include <RCF/Export.hpp> 26 #include <RCF/IpAddress.hpp> 30 class ServerTransport;
31 class ClientTransport;
46 std::string getIp()
const;
48 std::string asString()
const;
51 void enableSharedAddressBinding(
bool enable =
true);
54 void listenOnMulticast(
const IpAddress & multicastIp);
57 void listenOnMulticast(
const std::string & multicastIp);
65 std::unique_ptr<ServerTransport> createServerTransport()
const;
66 std::unique_ptr<ClientTransport> createClientTransport()
const;
72 bool mEnableSharedAddressBinding;
77 #endif // ! INCLUDE_RCF_UDPENDPOINT_HPP Represents a UDP endpoint.
Definition: UdpEndpoint.hpp:34
std::shared_ptr< Endpoint > EndpointPtr
Reference counted wrapper for RCF::Endpoint.
Definition: RcfFwd.hpp:117
Base class for all network endpoint types.
Definition: Endpoint.hpp:40
Definition: AmiIoHandler.hpp:23
Represents an IP address (IPv4 or IPv6).
Definition: IpAddress.hpp:66