

Since the last suggestion removed the magic of hardware addresses, we actually need to listen to packets on the cable. Just like normal cables, there is a limit to the amount of data we can cram into a single cable. Second, something that kinda complements the idea of the first suggestion. That also means you can simulate multiple networks cards in software while crafting only one.
#6502 emulator computercraft mod#
It encourages crafting an encryption card (or whatever it’s called) because users can now snoop and preform MITM attacks on these packets, since there is no game mechanic (provides by the mod itself) preventing posing as somebody else. The new network card API (excluding any OS-level abstraction would look like this:Īlready, we now have a lot of extra things. The different is it’d behave like broadcast, with packets being what are broadcasted. In the OS provided by the game by default could still have the same API as now. The only API by the mod is “broadcast and receive”. By default, there is no “hardware addresses”. Allow this to be configured in the mod preferences file, but have it enabled by default. The first suggestion, is remove the abstraction on network communication in the first place.

We do have ports, thankfully, but besides that the model is highly abstracted and thusly underpowered. In OpenComputers we currently have a simple highly abstracted networking model.
#6502 emulator computercraft install#
Portinfo can be installed via oppm from the Minitel repository, using the commandĪdditionally, to install manually, place a into /usr/lib/, and both oc.db and minitel.db into /usr/lib/ports/. To reserve a port in the database, please submit an issue on the GitHub repository.

This is more than enough to use for simple port lookups and generating tables. The search() function takes your query - either a string or a port number - and searches the database, defaulting to the OC ports database, for your query, returning the first result as a table in the format: The database also contains the entity that registered the port(s) and, if applicable, a link to more information. OC-ports provides a database and library for using said database to cross-reference between protocol names and network port numbers.
