| Namespaces |
TCP - TCP contains the tcp/ip specific functions and classes. |
UDP - The UDP namespace provides a set of tools to access udp streams |
Unix - The Unix namespace provides a set of tools to access unix domain socket streams |
| Classes |
Host - Finds information about a network host |
Service - Stores information about a network service |
| Functions |
getHostByName(string,number) - Returns a Network.Host object corresponding to the specified host |
getHostname() - Returns the system hostname as a string |
getServiceByName(string,string) - Returns a Service object corresponding to the specified service |
getServiceByPort(number,string) - Returns a Service object corresponding to the specified service |
| Variables |
AF_AUTO - This tells a function to use IPV6 if possible or fall back on IPV4 |
AF_IPV4 - This is used to indicate that an IP address is a version 4 one. |
AF_IPV6 - This is used to indicate that an IP address is a version 6 one. |
ANY4 - This is used as the mask on which to bind to any IPV4 network address |
ANY6 - This is used as the mask on which to bind to any IPV6 network address |