ZiBaT
=> Peter Levinsky
=> Programming => exercise |
Network Programming |
Updated : 2016-09-12
|
To design and implement an echo server and echo client using TCP additional using UDP.
To design and implement a Chat server / client.
Create a server that can echo incomming string request to the client.
Make a server that receive a tcp connection from a client, read the incomming string and write back the string in Upper Case.
The server should listen on port 7 according to the standard (RFC 862).
Create a client that can send a string to the echo server and receive the response.
Make a client that read a string (a line) from the keybord, create a tcp connection to the server, and read the responding string.
Refactor the server to wait for incomming connections in a loop and handle each client in a seperate task.
To start a task use: Task.Run( () => {handleOneClient()} ) see more about Task
Create a server that can echo incomming string request to the client.
Make a server that receive a udp datagram from a client, read the incomming string and send back the string in Upper Case.
The server should listen on port 7 according to the standard (RFC 862).
Create a client that can send a string to the echo serve and receive the response.
Make a client that read a string (a line) from the keybord, create a udp datagram to the server, and receive the responding datagram and print out the string.
Design a chat system which can send and receive messages.