diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-02 09:13:36 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-02 09:13:36 +0000 |
commit | b4f7f64413022c0cdd2900760748d4b24a8f68ec (patch) | |
tree | 6a4fe2225c08bea36d585a40ae6037ef564cb7e8 | |
parent | b53b47ca757d96c36773cbeab804c63cfb512632 (diff) |
Change comment which referred to an fd, is now an id
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4633 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | include/dns.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/dns.h b/include/dns.h index 39c6cc5aa..582300479 100644 --- a/include/dns.h +++ b/include/dns.h @@ -125,9 +125,12 @@ class Resolver : public Extensible */ bool ProcessResult(const std::string &result); /** - * Returns the file descriptor of this class. This is primarily used by the core + * Returns the id value of this class. This is primarily used by the core * to determine where in various tables to place a pointer to your class, but it * is safe to call and use this method. + * As specified in RFC1035, each dns request has a 16 bit ID value, ranging + * from 0 to 65535. If there is an issue and the core cannot send your request, + * this method will return -1. */ int GetId(); }; |