Skip to content

OpenComputers port listing and library for lookups

License

Notifications You must be signed in to change notification settings

ShadowKatStudios/OC-ports

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OC-ports

OC-ports provides a database and library for using said database to cross-reference between protocol names and network port numbers. The database also contains the entity that registered the port(s) and, if applicable, a link to more information.

API

The portinfo API provides one function:

portinfo.search(*query*, [*database*]) table: result

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:

  • name
  • port
  • registered by
  • more information

This is more than enough to use for simple port lookups and generating tables.

About

OpenComputers port listing and library for lookups

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages