design a program that can operate as both a TCP echo server and aUDP echo server. The program can provide services to many clientsat the same time, but involves a single process that does not startup any other threads.use select（）
We are a professional writing service that provides original papers. Our products include academic papers of varying complexity and other personalized services, along with research materials for assistance purposes only. All the materials from our website should be used with proper references.