Git Product home page Git Product logo

afit-csce689-hw1-s's Introduction

Homework 1:

Students will use the template code provided on the Github to write a TCP client and server. 
The server should be a single-process non-blocking server that can accept multiple concurrent 
connections and handle user input. When the user first connects, they should receive a list 
of possible commands and what those commands do. These should include

hello - displays a greeting (student's choice)
1, 2, 3, 4, 5 - displays information to the user (student's choice, but each number should 
provide different info)
passwd - Does nothing yet, but in HW2, will allow them to change their password
exit - disconnects the user
menu - should display the list of available commands in a clean, readable format
Commands not on this list should display an error message.

Recommend creating additional classes for modularity and reusability. Add additional files
to src/Makefile.am and rerun autoreconf and ./configure to integrate support for your new
files. 

afit-csce689-hw1-s's People

Contributors

mdemore2 avatar slate6715 avatar

Watchers

James Cloos 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.