Closed cliffg-softwarelibre closed 5 years ago
This has been implemented in the merge of June 3rd week. The net_entity class now internally uses a std::variant to support either a TCP acceptor, TCP connector, or UDP entity. This complicates the internal implementation
By using an internal std::variant, the basic_net_entity class template can become a non-template. This simplifies application logic, allowing generic handling of TCP connectors, TCP acceptors, and UDP entities.