This is for my Computer Network Homework.
Homework 1
In this Homework, I achieved both the client and server with C#.
- The client will try to connect to the server.
- If connected successfully, the server will ask the client send "GET UDP PORT" to the server.(TCP)
- The user should type "GET UDP PORT" on the console (assumes that he(she) doesn't know the the number of UDP port.)
- The server send the number of the udp port to the client.
- The client will show 3 options: 1)GET THE SERVER TIME 2)ECHO MODE 3)EXIT THE PROGRAM
- The server will return different messages to the client in case of different options.
- Typically, the server can serve more than one client simultaneously.