• through
  • thumb
  • thox
through, an analysis of the Minecraft computer mods environments
Logo
through, an analysis of the Minecraft computer mods environments
  • Discussion topics
    • Computers
    • Randomness and entropy
    • Character encodings
    • Buses and devices
      • Core bus
      • ComputerCraft side bus
      • ComputerCraft wired bus
      • OpenComputers bus
      • Modem devices
        • ComputerCraft modems
        • OpenComputers modems
        • Skynet modems
        • rednoot modems
      • Video devices
    • Modem protocols
      • Rednet lookup protocol
      • Rednet TRoR protocol
      • Phoenix protocols
      • LyqydNet-related modem protocols
      • GPS protocol
      • OneOS protocols
      • OPUS OS protocols
      • LDDestroier’s protocols
      • JackMac’s protocols
      • gollark’s modem protocols
  • Glossary
  • Notable people
Back to top

LyqydNet-related modem protocols#

From 2012 to 2017, Lyqyd has made a set of network solutions using a common set of solutions named “LyqydNet”, notably used in CC-Hive.

Todo

Similarities with Rednet, e.g. using computer IDs (with limits!). What ports is it using? Not actually sure

Dissimilarities with Rednet, e.g. no repeat port, etc.

Transport AND application protocol… bad, really.

See the main repository and the net daemon source code for more information.

Packet format#

Packets are tables containing the following fields:

Attribute

Presence

Role

lyqydnet

Required

Always set to true (or any value evaluated as true). Serves for isolating LyqydNet-specific packets.

destination

Required

Set to the destination host’s numerical computer identifier.

source

Required?

Set to the source host’s numerical computer identifier.

type

Required.

Set to a two-character identifier for the packet’s purpose.

toSock

?

A numerical identifier of the destination socket (equivalent to a “port” in more traditional connected transport protocols).

fromSock

?

A numerical identifier of the source socket (equivalent to a “port” in more traditional connected transport protocols).

confirm

?

An acknowledgement request flag which makes the current host repeat the message to the sender with the payload set to the current message and the type set to PS.

Packet types are the following:

Code

Family

Role

SQ

Socket

A query?

SR

Socket

A response?

SP

Socket

A data packet?

SI

Socket

An instruction?

SB

Socket

“done”?

SC

Socket

“close”?

PS

Packet

A packet acknowledgement, or “packet success”, returning on confirm == true?

HA

Hosts

Add a host route?

HT

Hosts

Send a hosts table?

HI

Hosts

A host sends its own information.

HC

Hosts

A host saves a Cost?

HQ

Hosts

Broadcasting HA?

HR

Hosts

Remove a route.

RM

Rednet

A Rednet message to be treated as Rednet message?

Socket instruction (SI) packet payloads are the following:

Code

Role

announce

Announce ourselves as HA packet using {label = <our label>, type = T or R or C}.

start

?

route

Enable routing?

longlink

Enable longlink mode?

turtlepacket

?

Next
GPS protocol
Previous
Phoenix protocols
Copyright © 2024, Thomas Touhey
Made with Sphinx and @pradyunsg's Furo
On this page
  • LyqydNet-related modem protocols
    • Packet format