Skip to content

Latest commit

 

History

History
53 lines (28 loc) · 2.16 KB

File metadata and controls

53 lines (28 loc) · 2.16 KB

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/

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

  1. 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)

  1. Observer an output.
  2. Submit your code