Monkey Documentation

Module regal.networking

This module provides a data-oriented network I/O framework atop the internet transport layer, supporting both TCP and UDP. More...


Imports:

Detailed Discussion

This module provides a data-oriented network I/O framework atop the internet transport layer, supporting both TCP and UDP.

Packet-data is enclosed within a custom protocol, with slight alterations based on the underlying transport method. This protocol supports features like client management, reliable messaging (UDP), and extended (Multi-part) packets.

To use this module in your applications, simply import 'regal.networking' at the top of your programs. Examples can be found in the main source directory.

Documentation notes:

These documents follow specific nomenclature:

  • A command is described as one or more methods or functions. (Usually a part of the API; protected or public)
  • Routines and sub-routines are small methods or functions usually used as intermediate or small parts of a working system.