+// ***************************************************************************
+// NetWin_p.h (c) 2011 Derek Barnett
+// Marth Lab, Department of Biology, Boston College
+// ---------------------------------------------------------------------------
+// Last modified: 8 December 2011 (DB)
+// ---------------------------------------------------------------------------
+// Provides common networking-related includes, etc. for Windows systems
+//
+// Note: requires Windows XP or later
+// ***************************************************************************
+
#ifndef NETWIN_P_H
#define NETWIN_P_H
+// -------------
+// W A R N I N G
+// -------------
+//
+// This file is not part of the BamTools API. It exists purely as an
+// implementation detail. This header file may change from version to version
+// without notice, or even be removed.
+//
+// We mean it.
+
#ifdef _WIN32 // <-- source files only include the proper Net*_p.h, but this is a double-check
#include <winsock2.h> // <-- should bring 'windows.h' along with it
namespace BamTools {
namespace Internal {
-// use RAII to ensure WSA is en
+// use RAII to ensure WSA is initialized
class WindowsSockInit {
public:
WindowsSockInit(void) {