GitHunt
AN

AnuragSahu/CN_Assignments

This Repo Contains all the Code for the Assignmets I did as a student at IIIT Hyderabad under the Course Computer Networks

CN_Assignments

Computer Networks Assignment 1

  • implemented listall
  • implemented send <file_name>
  • the file name is there or not if not the server will return error
  • if there are requests for multiple files then also returns error
  • supported server for upto 10 clients.

How to run the clients and servers

  • goto server_f folder,

  • in terminal at that folder,

  • to compile type
    => gcc server.c -o server

  • to run server type
    => ./server

  • now go back to the main root folder and then to client folder

  • to compile client type
    => gcc client.c -o client
    -to run the client type
    => ./client

  • make sure that both of them are in different folders and i different terminals
    *you can copy the client folder and repeat the steps again for client for showcase of multiple clients

Languages

C100.0%

Contributors

Created March 9, 2019
Updated March 30, 2019