GithubHelp home page GithubHelp logo

lab1b's Introduction

NAME: Brian Be
EMAIL: [email protected]
ID: 204612203

// Slip days
I am using one of my 4 remaining slip days.

// Brief overview
	After compiling the src codes lab1b-server.c and
	lab1b-client.c, there will be 2 executables in this package:
	lab1b-server and lab1b-client. lab1b-server starts up a server
	which will fork a child process that executes a shell
	process. lab1b-client will start up a client that will be able
	to communicate with the server through a port. The client will
	receive input from the keyboard, echo it to the terminal, and
	send it to the server through the use of sockets. The server
	will then forward it to the shell process via pipes. When the
	shell outputs the results of the commands sent by the keybaord
	from the client, the server will receive it and forward it to
	the client, which will then display on the terminal.

	The client will also have a --log option to log any bytes sent
	to or received from the server. Both the client and the server
	will have a --encrypt option to encrypt and decrypt the data
	being sent to each other, using the algorithm "twofish" in
	"cfb" mode with the help of the mcrypt.h library.

// Research
pipes and file descriptors:
	https://www.youtube.com/watch?v=EL4hCQc7KXY#t=28.150366
poll():
	https://www.youtube.com/watch?v=UP6B324Qh5k

Other sources were from man pages and TA powerpoints/discussion.

lab1b's People

Contributors

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