diff options
Diffstat (limited to 'lib/libUPnP/Neptune/Source/System/WinRT/NptWinRtNetwork.cpp')
-rw-r--r-- | lib/libUPnP/Neptune/Source/System/WinRT/NptWinRtNetwork.cpp | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/lib/libUPnP/Neptune/Source/System/WinRT/NptWinRtNetwork.cpp b/lib/libUPnP/Neptune/Source/System/WinRT/NptWinRtNetwork.cpp new file mode 100644 index 0000000..5b62d0a --- /dev/null +++ b/lib/libUPnP/Neptune/Source/System/WinRT/NptWinRtNetwork.cpp @@ -0,0 +1,39 @@ +/***************************************************************** +| +| Neptune - Network :: WinRT Implementation +| +| (c) 2011-2012 Gilles Boccon-Gibod +| Author: Gilles Boccon-Gibod (bok@bok.net) +| + ****************************************************************/ + +/*---------------------------------------------------------------------- +| includes ++---------------------------------------------------------------------*/ +#include "NptConfig.h" +#include "NptTypes.h" +#include "NptStreams.h" +#include "NptThreads.h" +#include "NptNetwork.h" +#include "NptUtils.h" +#include "NptConstants.h" +#include "NptSockets.h" + +/*---------------------------------------------------------------------- +| NPT_NetworkInterface::GetNetworkInterfaces ++---------------------------------------------------------------------*/ +NPT_Result +NPT_NetworkInterface::GetNetworkInterfaces(NPT_List<NPT_NetworkInterface*>& interfaces) +{ + return NPT_SUCCESS; +} + +/*---------------------------------------------------------------------- +| NPT_IpAddress::ResolveName ++---------------------------------------------------------------------*/ +NPT_Result +NPT_IpAddress::ResolveName(const char* name, NPT_Timeout timeout) +{ + m_HostName = name; + return NPT_SUCCESS; +}
\ No newline at end of file |