From b4f7f64413022c0cdd2900760748d4b24a8f68ec Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 2 Aug 2006 09:13:36 +0000 Subject: 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 --- include/dns.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include/dns.h') 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(); }; -- cgit v1.2.3