Jump to content




Rednet Data Transfer Protocol (alpha r3)

networking api lua

3 replies to this topic

#1 skwerlman

  • Members
  • 163 posts
  • LocationPennsylvania

Posted 10 March 2014 - 03:56 PM

IMPORTANT NOTE: This is a Protocol API. It does not implement a server/client setup. That's up to you.

RDTP
A networking framework designed to emulate the World Wide Web (to a small degree). Basically the goal of this project is to standardize Rednet in a way that allows for HTML-like pages to be transferred from one computer to another. At the moment, this is just a basic API that gets the basics of data transfer in place. I have a long list of ideas for this project, but I need feedback on the current system as it is before I can get moving towards loftier goals.

RDTPs
RDTPs is to RDTP as HTTPS is to HTTP. It's Rednet Data Transfer Protocol + security. While it doesn't automatically encrypt data, it's designed to support asymmetric encryption, as well as content verification methods such as SHA-256 hashing. This protocol works especially well with Immibis's Peripherals, since that's the mod I used to test this protocol. Of course, you can use any algorithm you'd like, so long as both the client and server know it.
This protocol will be updated alongside RDTP, so any features in one *should* be released in the other simultaneously.

Help Wanted!
Are you proficient in Lua? Know anything (literally anything at all, I don't care what) about how data is moved on the internet? Can you draw? Any of the above? I need your help!
PM me if you're interested.

Download:
Spoiler

Installation:
Spoiler

Methods
Spoiler

Status/Error Codes
Spoiler

Please post bugs and suggestions here. It helps me keep track of them.

Edited by skwerlman, 22 April 2014 - 10:07 AM.


#2 Uberblockminer

  • Members
  • 10 posts

Posted 23 March 2014 - 08:04 AM

Umm.... A pastebin link would be great ^^

#3 skwerlman

  • Members
  • 163 posts
  • LocationPennsylvania

Posted 20 April 2014 - 06:26 AM

View PostUberblockminer, on 23 March 2014 - 08:04 AM, said:

Umm.... A pastebin link would be great ^^

Since it's more than one file, but not enough to warrant me writing an installer, I'm only going to host it as a zip as well as on the AppStore. The AppStore is the best (only) way to get it in-game.

EDIT: I had forgotten to post a link to the appstore version, sorry

Edited by skwerlman, 20 April 2014 - 06:45 AM.


#4 konradinius2

  • Members
  • 3 posts

Posted 23 April 2014 - 12:45 PM

i think i will use it in my future projects





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users