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
- Create two files for the Client and server program named as daytimetcpserver.c and daytimetcpclient.c
- Write a server and client program (Program code is attached as a pdf Image)
- Save both files in the same directory
- Compile both programs using GCC compiler.
example: gcc -o server daytimetcpserver.c (It creates an output file server)
do similar for client program
- Open terminal and run server program
example: ./server <portno> (Specify port number)
6: In another terminal run client program
example: ./client <server ip> <port no> (Specify server ip and port no)
- Observer an output.
- Submit your code