bradenericson / gossipprotocolproject Goto Github PK
View Code? Open in Web Editor NEWA NodeJS implementation of UDP communication.
A NodeJS implementation of UDP communication.
Use mongoose to query our mongo database for resources.
Schema for the Resource Object:
{
description: String,
fileName: String,
mimeType: String,
location: String,
size: Integer, //number of bytes
tags: Array
}
Using messenger library, create a connection between Main and UI that allow Main to show results to UI and for UI to create custom requests for Main to send to the transceiver
A class that holds n number of IPs to send messages to.
When the user requests something from the outside world, a message gets sent to main, where main creates a UDP, saves the requestID, then sends it to trasnceiver
Add documentation, clean up unnecessary comments and console.log
remove console.logs
make more efficient
add comments that make sense
This method is responsible for the client-pull functionality for our peer. It should automatically request ALL packets needed for a resource, and allow user overload for missing packets.
This would happen after the UI can create a packet
Use the messenger library to add a communication layer between Main and ResourceManager. Check out the communication from transceiver to main to see how this is done.
Note: two classes cannot share the same "listening" port. So you'll need to use different numbers.
This listener
Resource will be a mongoose model generated from that schema task posted earlier. It will be in it's own seperate folder called models.
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.