Assignment 5 CS494-unp revised: 9/16/99 Assigned: 9/21/99 Due: 6:00pm 9/29/99 Objective: UDP echo client with select Points: 20 Description: Construct a UDP echo client that takes as arguments a server name or IP address and optionally a port number (default 7). Your client will use select() to determine if data is ready to be read from the keyboard (fd 0) or the UDP socket. Any line typed on the keyboard should be sent to the server (sendto()). Any datagrams received from the server (recvfrom()) should be printed (displayed). Maximum message/buffer length is 1024 bytes. You may use connect() if you wish. Provide the output from your program when testing with the following hosts (just type in a few lines). host: cetus2b (or any of the cetus* critters) port:7 host: 128.169.93.200 port:17654 Host 128.169.93.200 may send back more than one datagram (multiple copies of your input). Check error status on ALL network function calls and select(). Do NOT use any of the Stevens' libraries nor his wrapper include file. Optional: please indicate amount of time required to complete assignment. Use ~dunigan/cs494-unp/494submit to submit your source files and output. See http://www.cs.utk.edu/~dunigan/cs494-unp/policy.txt