From d2f46aca706ff4e829df01565b3ebdd223d77fff Mon Sep 17 00:00:00 2001 From: avinal <185067@nith.ac.in> Date: Wed, 27 Jan 2021 18:04:39 +0530 Subject: [PATCH] LAB 1 readme added --- computer_networks/lab/lab1/README.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 computer_networks/lab/lab1/README.md diff --git a/computer_networks/lab/lab1/README.md b/computer_networks/lab/lab1/README.md new file mode 100644 index 0000000..ccdca37 --- /dev/null +++ b/computer_networks/lab/lab1/README.md @@ -0,0 +1,27 @@ +# LAB 1 - Computer Networks + +## Files + +| File Name | Descroption | +| --- | --- | +| [TCP_client.c](TCP_client.c) | TCP client implementation | +| [TCP_server.c](TCP_server.c) | TCP server implementation | +| [UDPclient.c](UDPclient.c) | UDP client implementation | +| [UDPserver.c](UDPserver.c) | UDP server implementation | + +## Questions + +1. Change the binding socket port Number of the client and the server sockets (Note that port No. 0 to 1023 are reserved for common TCP/IP applications and cannot be used). + +2. Change the number of outstanding incoming request for the listen() primitive to 10, so that it can keep 10 incoming requests in pipe at a time. + +3. Change the binding address of both the client and the server sockets from "INADDR_ANY" to the IP address of the local host. + +4. Change the input buffer size of the client and the server to 4096. Modify the texts exchanged between the client and the server so that texts of larger length are exchanged. + +## Student Detail + +- Name: Avinal Kumar +- Roll: 185067 +- Branch: CSE +- Date: 27 Jan 2021 \ No newline at end of file