/udp-echo-

Sample TCP/UDP Echo Service

Primary LanguageGo

Trivial TCP/UDP Echo Service

This code demonstrates how to build a Fly.io service that handles both TCP and UDP traffic on the same port. It's slightly more annoying than you'd hope, but only slightly.