Skip to content

Jessicat-H/nic_link

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nic_link

The link layer for CP341: Computer Networking.

Introduction

This C project establishes the link layer for the custom CP341 network.

  • nic_lib.c is the library file that should be imported to provide sending and receiving functions.
  • nic_lib.h is the header file for the above module.
  • multiuser_library_chat.c is an example CLI that makes use of the module to interactively send and receive between the four Raspberry Pis.

Building and Running

Keeping with the standards of the class, this code should be built and run on a Raspberry Pi 3B+ with pigpio installed. To build the CLI, run gcc -pthread -o multichat multiuser_library_chat.c nic_lib.c -lpigpiod_if2. To run the CLI, then call ./multichat.

Authors

The following code was written by Jessica Hannebert, Dylan Chapell, and Tony Mastromarino.

About

Simple multi-user chat program for CP341: Computer Networking

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages