Namespace Popcorn.Network


namespace Popcorn.Network
Generators for common data types used in networking.
Authors:
Adam Smyczek
Brian Wilkerson

Function Summary
Most common domains dictionary.
Domains dictionary.
generator ipRange(string fromIP, string toIP)
IP range generator creates IPs in the range from 'fromIP' to 'toIP'.

Function Details

function commonDomains

Dict commonDomains()
Most common domains dictionary. It contains the domains com, net, org, edu, gov, biz and info.
Returns:
the common domains dictionary object.
Defined in Popcorn.Network

function domains

Dict domains()
Domains dictionary.
Returns:
the domains dictionary object.
Defined in Popcorn.Network

function ipRange

generator ipRange(string fromIP, string toIP)
IP range generator creates IPs in the range from 'fromIP' to 'toIP'. Currently the maximum range length is restricted to 5000 elements.
Parameters:
fromIP - IP string of the form '192.168.0.1'.
toIP - IP string of the form '192.168.0.10'.
Returns:
a IP range generator.
Defined in Popcorn.Network