User:MarkNstein/PacketNerding

From Space Station 13 Wiki
< User:MarkNstein
Revision as of 05:08, 23 February 2020 by MarkNstein (talk | contribs) (Created page with "Possible addition(s) to Zamujasa's Station Network Guide. We shall see == Fundamental Packet Processing == A quick reminder: The mainfra...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Possible addition(s) to Zamujasa's Station Network Guide.

We shall see


Fundamental Packet Processing

A quick reminder: The mainframe is the core-processing unit of the DWAINE network, terminals are just dumb peripherals. With the few exceptions, all the "thinking" (processing) happens in the mainframe. If the mainframe is offline, or a terminal is unable to communicate with it, then little can be accomplished with the DWAINE system.

The mainframe communicates with terminals and other peripherals with packets. With the exception of pings, the terminal will only act on a packet if it is the addressed recipient.

A ping packet has "ping" instead of an address. This packet (with sender info) is sent when you run term_ping at a DWAINE terminal.

address_1=ping

Recognized commands:

  • term_connect
  • term_message (term_input)
  • term_file (term_input)
  • term_break (term_input)
  • term_ping
  • term_disconnect
  • ping_reply


term_input(var/data, var/termid, var/datum/computer/file/the_file) var/list/commandlist = params2list(data) var/command = lowertext(commandlist["command"])