Git Product home page Git Product logo

230-lab-networking-starter's Introduction

COMPSCI 230 Computer Systems Principles

Networking Starter Lab

In this lab we give you starter code for the client you might write for Project 6, and a little bit of guidance.

To start working on this lab you must be logged in to the Edlab and in your cs230 directory, or be in a similar environment on your local machine.

From this directory run the command:

$ git clone https://github.com/marcliberatore/230-lab-networking-starter.git

to make a copy of this lab directory, or use Github Desktop, or download and decompress a zip file directly from Github to use locally (the green "Code" button has a "Download ZIP" option). Or just download and use client.c directly!

However you do it, you will end up with client.c available to you. It's a standalone C program that is a very rough outline of what you'll need to do to complete Project 6. The expectation is that you can work on it during lab with your TA and UCAs present to help you if you get stuck.

Use

gcc -o client client.c

to compile it, and

./client

to run it. You'll find that it doesn't do much, at first. But you can edit it, following the directions it contains, to build up toward a functioning implementation of the client you need for Project 6.

It's pretty important to work step-by-step on this project -- don't try to write all the code in one large edit; get each part working before moving on to the next, and think carefully about checking return values and including copious logging output to help you figure out what's going on if things go wrong.

Good luck!

230-lab-networking-starter's People

Contributors

marcliberatore avatar

Stargazers

Anna Allen avatar

Watchers

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