Logo  

CS473 - Computer Networks

Displaying exercises/e4/files/say.c

/**
 * This program should create a socket, then:
 * - Read lines of input from the user and send them to the listen program (via
 *   sendto(2)) using the socket file path, which is by default /tmp/listen, but
 *   may be modified by a path given on the command line.
 * - Print the message "Type Ctrl-D to quit:\n" before accepting input.
 * - The program should stop when the end of file on stdin is reached.
 */

int main(int argc, char *argv[])
{

  return 0;
}