- fixed SF# 2644940: on Windows the COMPUTER-NAME and the HOSTNAME can be different

This commit is contained in:
Guenter Obiltschnig
2009-03-13 13:22:51 +00:00
parent 060e32101b
commit 25fc7512ad
2 changed files with 17 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
//
// DNS.h
//
// $Id: //poco/Main/Net/include/Poco/Net/DNS.h#3 $
// $Id: //poco/Main/Net/include/Poco/Net/DNS.h#4 $
//
// Library: Net
// Package: NetCore
@@ -118,6 +118,9 @@ public:
static void flushCache();
/// Flushes the internal DNS cache.
static std::string hostName();
/// Returns the host name of this host.
protected:
static int lastError();