Forums - Open Redstone Engineers
Minecraft Datagram Protocol - Printable Version

+- Forums - Open Redstone Engineers (https://forum.openredstone.org)
+-- Forum: ORE General (https://forum.openredstone.org/forum-39.html)
+--- Forum: Projects & Inventions (https://forum.openredstone.org/forum-19.html)
+---- Forum: Completed Projects (https://forum.openredstone.org/forum-21.html)
+---- Thread: Minecraft Datagram Protocol (/thread-6101.html)



Minecraft Datagram Protocol - tokumei - 04-05-2015

I just made something. It's a simple, abstract network protocol mainly intended for sending/receiving raw data. I'm calling it the Minecraft Datagram Protocol, or MDP.

Each packet consists of a header, which is 2 octets long, and a data chunk which can be 0-13 octets long. The header consists of two 4 bit addresses, a 4 bit protocol identifier, and a 4 bit packet size. The first address is the source address, and the second is the destination address. The protocol is an implementation-specific number telling the recipient how the data should be interpreted. Finally, the packet size tells how many octets are in the packet, including header octets.

This is part of a larger project I am working on, which is my own intranet. It is not an Internet, thus it won't span any plots except my own. However, in the future it might be a subnet of someone else's inter plot network.


RE: Minecraft Datagram Protocol - slugdude - 04-05-2015

It's possible to connect this to intOREnet, just a simple little converter. The only thing is that intOREnet addresses are 8 bits long not 4 so hmmmmmmmmmmm


RE: Minecraft Datagram Protocol - tokumei - 04-05-2015

Yeh, but converting from IntOREnet to MDP is easier- You simply have to reserve a netmask for my local network. You shouldn't have to worry about conversion; I'll take care of it with my own hardware.


RE: Minecraft Datagram Protocol - slugdude - 04-05-2015

You see, intOREnet is technically a 6 bit address for each hub. The remaining two bits are for which port on the hub that the device is connected to.


RE: Minecraft Datagram Protocol - tokumei - 04-06-2015

I've worked out the kinks. I'll only have a single address (which will be a bridge that converts the packets) that people on intOREnet can use to talk to me. It'll be exactly like I hooked up a router to IntOREnet.


RE: Minecraft Datagram Protocol - LordDecapo - 04-06-2015

So this marks 2 subnets that will be connected, urs and IizRs


RE: Minecraft Datagram Protocol - tokumei - 04-07-2015

^ Although it's not necessarily a "subnet". I'll only have a single address on the network, just like an ethernet router makes a network that appears as a single IP address to another network.


RE: Minecraft Datagram Protocol - LordDecapo - 04-08-2015

So then ur making a LAN protocol for your plot that can be connected to a bigger IntOREnet WAN connection... so in a way a subnet Tongue


RE: Minecraft Datagram Protocol - tokumei - 04-08-2015

It's not a subnet.

Wikipedia Wrote:A subnetwork, or subnet, is a logical, visible subdivision of an IP network.

A subnet is a logical, visible subdivision. It's not a logical division; it's a physically separate network. It's not directly visible either; it presents itself as a single node on intOREnet just like any other client.


RE: Minecraft Datagram Protocol - LordDecapo - 04-08-2015

Ah, so it's not since it isn't visible. Tongue fing technicalities