How do I switch protocols?
Simply change the protocol passed to the Start method.
For example, to change from TCP/IP to UDP
// TCP/IP Server deliverer->Start(UProtocolFactory::CreateProtocolTcpIpServer(9099), …); // TCP/IP Server deliverer->Start(UProtocolFactory::CreateProtocolTcpIpServer(9099), …);
// UDP Sender deliverer->Start(UProtocolFactory::CreateProtocolUdpSocketSender(“192.168.0.100”, 9099), …);// UDP Sender deliverer->Start(UProtocolFactory::CreateProtocolUdpSocketSender(“192.168.0.100”, 9099), …);