summaryrefslogtreecommitdiff
path: root/doc/classes/IP.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/IP.xml')
-rw-r--r--doc/classes/IP.xml36
1 files changed, 23 insertions, 13 deletions
diff --git a/doc/classes/IP.xml b/doc/classes/IP.xml
index 721cf07441..cd669e3de1 100644
--- a/doc/classes/IP.xml
+++ b/doc/classes/IP.xml
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<class name="IP" inherits="Object" category="Core" version="3.0-alpha">
+<class name="IP" inherits="Object" category="Core" version="3.0-beta">
<brief_description>
- IP Protocol support functions.
+ Internet protocol (IP) support functions like DNS resolution.
</brief_description>
<description>
- IP contains support functions for the IPv4 protocol. TCP/IP support is in different classes (see [StreamPeerTCP] and [TCP_Server]). IP provides hostname resolution support, both blocking and threaded.
+ IP contains support functions for the Internet Protocol (IP). TCP/IP support is in different classes (see [StreamPeerTCP] and [TCP_Server]). IP provides DNS hostname resolution support, both blocking and threaded.
</description>
<tutorials>
</tutorials>
@@ -78,25 +78,35 @@
</method>
</methods>
<constants>
- <constant name="RESOLVER_STATUS_NONE" value="0">
+ <constant name="RESOLVER_STATUS_NONE" value="0" enum="ResolverStatus">
+ DNS hostname resolver status: No status.
</constant>
- <constant name="RESOLVER_STATUS_WAITING" value="1">
+ <constant name="RESOLVER_STATUS_WAITING" value="1" enum="ResolverStatus">
+ DNS hostname resolver status: Waiting.
</constant>
- <constant name="RESOLVER_STATUS_DONE" value="2">
+ <constant name="RESOLVER_STATUS_DONE" value="2" enum="ResolverStatus">
+ DNS hostname resolver status: Done.
</constant>
- <constant name="RESOLVER_STATUS_ERROR" value="3">
+ <constant name="RESOLVER_STATUS_ERROR" value="3" enum="ResolverStatus">
+ DNS hostname resolver status: Error.
</constant>
- <constant name="RESOLVER_MAX_QUERIES" value="32" enum="">
+ <constant name="RESOLVER_MAX_QUERIES" value="32">
+ Maximum number of concurrent DNS resolver queries allowed, [code]RESOLVER_INVALID_ID[/code] is returned if exceeded.
</constant>
- <constant name="RESOLVER_INVALID_ID" value="-1" enum="">
+ <constant name="RESOLVER_INVALID_ID" value="-1">
+ Invalid ID constant. Returned if [code]RESOLVER_MAX_QUERIES[/code] is exceeded.
</constant>
- <constant name="TYPE_NONE" value="0">
+ <constant name="TYPE_NONE" value="0" enum="Type">
+ Address type: None.
</constant>
- <constant name="TYPE_IPV4" value="1">
+ <constant name="TYPE_IPV4" value="1" enum="Type">
+ Address type: Internet protocol version 4 (IPv4).
</constant>
- <constant name="TYPE_IPV6" value="2">
+ <constant name="TYPE_IPV6" value="2" enum="Type">
+ Address type: Internet protocol version 6 (IPv6).
</constant>
- <constant name="TYPE_ANY" value="3">
+ <constant name="TYPE_ANY" value="3" enum="Type">
+ Address type: Any.
</constant>
</constants>
</class>