From 3c8f07e4a3f44e57f823a869e83f96f8d2095efa Mon Sep 17 00:00:00 2001 From: mjjo Date: Sat, 20 Jul 2013 23:27:29 +0000 Subject: [PATCH] --- Common/IPInfos.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Common/IPInfos.h diff --git a/Common/IPInfos.h b/Common/IPInfos.h new file mode 100644 index 0000000..05d2c0c --- /dev/null +++ b/Common/IPInfos.h @@ -0,0 +1,22 @@ +// IPInfos.h: interface for the CIPInfos class. +// +////////////////////////////////////////////////////////////////////// + +#if !defined(AFX_IPINFOS_H__A1E74E5B_165E_4837_98BF_8D7DFB6DCAC9__INCLUDED_) +#define AFX_IPINFOS_H__A1E74E5B_165E_4837_98BF_8D7DFB6DCAC9__INCLUDED_ + +#if _MSC_VER > 1000 +#pragma once +#endif // _MSC_VER > 1000 + +class CIPInfos +{ +public: + CIPInfos(); + virtual ~CIPInfos(); + + int GetLocalIPCount(); + CString GetLocalIP(int nIndex); +}; + +#endif // !defined(AFX_IPINFOS_H__A1E74E5B_165E_4837_98BF_8D7DFB6DCAC9__INCLUDED_)