Would it be possible to use the Poco TcpServer example to use either TCP or UDP? My app is working now as TCP only using the TcpServer example. It seems like I could pass the TcpServer a DatagramSocket instead of a StreamSocket and then, magically, it would use UDP.

Does this seem possible? Any comments that might help me set a direction to proceed would be appreciated!