Module:IP/doc: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
add section links
(fix an IPv6 address syntax error)
(add section links)
Line 1:
Module:IP is a library for working with IP addresses and subnets. It can handle both [[IPv4]] and [[IPv6]]. The library exports two classes, [[#IPAddress|IPAddress]] and [[#Subnet|Subnet]].
 
== Loading the library ==
Line 40:
</source>
 
You can use tostring on them (this is equivalent to <code>ipAddress:using [[#getIP()</code>|getIP]]):
 
<source lang="lua">
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu