VBoxVMInfoNet.cpp revision d65680efa46fa49e8bf14e67b29b782510ff934c
/* $Id$ */
/** @file
* VBoxVMInfoNet - Network information for the host.
*/
/*
* Copyright (C) 2006-2007 Sun Microsystems, Inc.
*
* Sun Microsystems, Inc. confidential
* All rights reserved
*/
#include "VBoxService.h"
#include "VBoxVMInfo.h"
#include "VBoxVMInfoNet.h"
{
DWORD dwCurIface = 0;
if (sd == SOCKET_ERROR)
{
return -1;
}
unsigned long nBytesReturned;
sizeof(InterfaceList), &nBytesReturned, 0, 0)
== SOCKET_ERROR)
{
return -1;
}
dwCurIface = 0;
for (int i = 0; i < nNumInterfaces; ++i)
{
continue;
Log((" Iface is "));
else Log(("down"));
Log((", and can do: "));
Log(("\n"));
/** @todo Add more information & storage here! */
}
return 0;
}