dakotanelson / olin-networking-class Goto Github PK
View Code? Open in Web Editor NEWProject repo for computer networking class, spring 2014.
Project repo for computer networking class, spring 2014.
We need to add the "" character to our morse code library. There is a predefined one for "real-world" Morse code - just find it and add it.
Currently, messages received by morse_code
is simply printed (if it's to us). See line 113 in morse_code.py
. What needs to happen is:
returnMessage
can be used to pull a message from the queue. Look to the function returnData
in UDP_Server.py
for a format of this function.This is so that the layer above morse_code
(currently morse_socket
) can access the messages received by this layer.
When the port (source or destination) is, say, 7, it is encoded into the packet as '7', when the port field should actually be two characters, i.e. '07'.
Currently, the end of a message is determined by looking at the '+' opcode instead of the length field. (see morse_code.py
line 112) Instead, the len field of the packet should be used to determine the end of the packet.
Currently, the device's address is assigned in morse_socket.py
. However, the "source" field is filled in inside of morse_code.py
, which currently does not have access to the device's address.
Probable solution: pass source into morse_code.py
's sendMassage
function. If this route is take, be sure to eliminate self.ourMac
from morse_code.py
and clean up any references to it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.