Module:IPAddress/doc

From the Croc Wiki, the Croc encyclopedia
Revision as of 20:28, February 19, 2022 by DarkMatterMan4500 (talk | contribs) (8 revisions imported from wikipedia:Module:IPAddress/doc)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

This is the documentation page for Module:IPAddress

Functions are not "local", so other modules can require this module and call them directly. We return an object with 3 small stub functions to call the real ones so that the functions can be called from templates also.

Only dotted decimal notation for IPv4 supported. Does not support dotted hexadecimal, dotted octal, or single-number formats (see IPv4#Address_representations).

Unit tests at Module:IPAddress/testcases