Giter Site home page Giter Site logo

anuragsahu / cn_assignments Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 155 KB

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

C 100.00%
server client c multiclient computer-networks iiith assignment

cn_assignments's Introduction

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

cn_assignments's People

Contributors

anuragsahu avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.