]> git.donarmstrong.com Git - bamtools.git/blobdiff - src/api/internal/io/HostInfo_p.cpp
Updated file headers (filename, license, description, etc)
[bamtools.git] / src / api / internal / io / HostInfo_p.cpp
index 1431fb8770b1054e7283050626b9a0658b2e740d..80343f1cd9d1495486ebbe56fa9c9d32f6632073 100644 (file)
@@ -1,3 +1,12 @@
+// ***************************************************************************
+// HostInfo_p.cpp (c) 2011 Derek Barnett
+// Marth Lab, Department of Biology, Boston College
+// ---------------------------------------------------------------------------
+// Last modified: 10 November 2011 (DB)
+// ---------------------------------------------------------------------------
+// Provides DNS lookup functionality for hostname & its discovered addresses
+// ***************************************************************************
+
 #include "api/internal/io/HostInfo_p.h"
 using namespace BamTools;
 using namespace BamTools::Internal;
@@ -16,7 +25,7 @@ using namespace BamTools::Internal;
 using namespace std;
 
 // -------------------------
-// HostInfo basics
+// HostInfo implementation
 // -------------------------
 
 HostInfo::HostInfo(void)
@@ -64,9 +73,10 @@ void HostInfo::SetHostName(const string& name) {
     m_hostName = name;
 }
 
-// ------------------------------
+// ---------------------------------
 // HostInfo::Lookup(host, port)
-// ------------------------------
+//  - the real "heavy-lifter" here
+// ---------------------------------
 
 HostInfo HostInfo::Lookup(const string& hostname, const string& port) {