ucase_unix_dgram


The following are a server and client program that demonstrate UNIX Domain sockets of type SOCK_DGRAM. The client reads a line of text from stdin and sends this line to the server; the server than capitalizes the line and sends it back to the client, who prints this line. Once the user hits CTRL-d, the client exits.

ucase_unix_dgram_server.c


      
ucase_unix_dgram_client.c


      

Additional files: