https://github.com/theonlynischal/network-programming-lab-assignments-ncit
Lab assignments done at the Network Programming Course at NCIT, 2020.
https://github.com/theonlynischal/network-programming-lab-assignments-ncit
ncit netowrk-programming-programs network-programming network-programming-lab np
Last synced: 2 months ago
JSON representation
Lab assignments done at the Network Programming Course at NCIT, 2020.
- Host: GitHub
- URL: https://github.com/theonlynischal/network-programming-lab-assignments-ncit
- Owner: theonlyNischal
- Created: 2020-10-15T07:58:38.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-17T17:32:09.000Z (almost 3 years ago)
- Last Synced: 2025-03-26T04:35:06.061Z (3 months ago)
- Topics: ncit, netowrk-programming-programs, network-programming, network-programming-lab, np
- Language: C
- Homepage:
- Size: 645 KB
- Stars: 6
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
Network Programming Lab Assignment
--------------------------------------
This repo will hold the lab assignment done at the Network Programming Course at NCIT, 2020.Under Supervision of Asst. Prof. Madan Kadariya https://www.linkedin.com/in/madan-kadariya-30b037b1/
- Time of day client-server program using TCP sockets. https://github.com/theonlyNischal/Network-Programming-Lab-Assignments-NCIT/tree/main/01-day-of-time
- Example of echo server using TCP sockets. https://github.com/theonlyNischal/Network-Programming-Lab-Assignments-NCIT/tree/main/02-simple-echo-program
- Simple chat using TCP sockets.https://github.com/theonlyNischal/Network-Programming-Lab-Assignments-NCIT/tree/main/03-simple-chat-program
- Echo server but built with concurrent server. https://github.com/theonlyNischal/Network-Programming-Lab-Assignments-NCIT/tree/main/04-concurrent-echo
- Simple chat but built with concurrent server. https://github.com/theonlyNischal/Network-Programming-Lab-Assignments-NCIT/tree/main/05-concurrent-chat
- TCP Quiz https://github.com/theonlyNischal/Network-Programming-Lab-Assignments-NCIT/tree/main/06-TCP-Quiz
- [Incomplete]-Provide Registration Number https://github.com/theonlyNischal/Network-Programming-Lab-Assignments-NCIT/tree/main/07-provide-registration-number
- [Incomplete]-Client-to-Client Communication Chat https://github.com/theonlyNischal/Network-Programming-Lab-Assignments-NCIT/tree/main/08-client-to-client-chat
Instructions
================Lab1: Day Time Client Server Program
+++++++++++++++++++++++++++++++++++++++++1. Create two files for the Client and server program named as daytimetcpserver.c and daytimetcpclient.c
2. Write a server and client program (Program code is attached as a pdf Image)
3. Save both files in the same directory
4. Compile both programs using GCC compiler.
example: gcc -o server daytimetcpserver.c (It creates an output file server)
do similar for client program
5. Open terminal and run server program
example: ./server (Specify port number)
6: In another terminal run client program
example: ./client (Specify server ip and port no)
7. Observer an output.
8. Submit your code