Giter VIP home page Giter VIP logo

eeb's Introduction

  1. Name: Darshith Karthikeyan

  2. Student ID: 8593560105

  3. Additional details: Have integrated the additional credit functionality of multiple courses.

  4. Code files:

    All static port numbers were strictly hardcoded as per the project guidelines. ServerEE.c- Runs over UDP port number 23105 ServerCS.c- Runs over UDP port number 22105 ServerC.c- Runs over UDP port number 21105 All the above three servers access the respective txt file and process the information through tokenization and other string operations. Based on the result of the query/operations the servers respond with a buffer/message.

    ServerM.c- Runs over TCP port 25105 and UDP port number 24105 The main server has two parts. There is a function for all the UDP communications, where the server acts as the client and in the main function, the TCP server is implemented.

    client.c- Runs over TCP dynamic port numbers The client has a function for TCP communications and the main function is responsible for all user inputs and outputs.

    All test cases concerning the given requirements were successful to log the correct result. As per my testing, the order in which the servers or clients are launched does not affect the functionality of the program.

  5. Format of Messages:

    Authentication: 1,Username,Password client -> main server Encrypted Username,Encrypted Password main server -> ServerC The server C sends the result of the authentication to the Main server and the main server relays it to the client. Querry: 2,course,category,uername Client -> Main Server Course,category Main Server -> EE/CS server All servers -> client(acting clients) Buffer message

  6. idiosyncrasy

    No idiosyncrasies were detected during sanity testing. Will have to make sure about the tokenizing character ","(username, passwords, course, and category cannot have the character ",") and " "(For multiple courses) while entering user inputs.

  7. Reused Code

    https://beej.us/guide/bgnet/source/examples/listener.c https://beej.us/guide/bgnet/source/examples/client.c https://beej.us/guide/bgnet/source/examples/server.c https://www.geeksforgeeks.org/udp-server-client-implementation-c/ All reused codes from reputable sources were completely understood and modified as per the project requirements.

Note: All files compile and run with no errors/warnings as expected with the provided VM.

eeb's People

Contributors

shrutikasingh 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.