Programming Assignment 1

Programming Assignment 1 - questions and answers. Every...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
CIS 4363 Programming Assignment 1 Due: 1/25/2007 In this programming assignment, you will implement the stop-and-wait protocol using sockets. Two machines will communicate with each other. One is the client, and the other is the server. Client will have a bunch of questions to ask the server. The server will send answers back to the client. Following the stop-and-wait protocol, the client will ask a question, wait for the answer, then ask the next question. Please make up 3 pairs of
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: questions and answers. Every time the client is ready to ask questions, ask the user which question he/she wants to ask, and prints out the answer from the server. Sample output of the program on the client side: Menu: 1. Question 1 2. Question 2 3. Question 3 4. Quit Please choose a question: 1 Client: question 1. Server: answer 1. Menu: 1. Question 1 2. Question 2 3. Question 3 4. Quit Please choose a question: 4 Quit....
View Full Document

This note was uploaded on 07/04/2011 for the course CIS 4643 taught by Professor Staff during the Spring '07 term at University of Central Florida.

Ask a homework question - tutors are online