SOL9 Sample: IfTable

SOL9 2.0 Samples

1 Screenshot


2 Source code

/*
 * IfTable.cpp 
 * Copyright (c) 2015 Antillia.com TOSHIYUKI ARAI. ALL RIGHTS RESERVED. 
 */


// SOL9
// 2009/08/22
// 2010/12/24 Updated

#include <sol/net/IfTable.h>
#include <sol/Locale.h>

// Sample program to display interface tables by using IfTable class.

void _tmain(int argc, TCHAR** argv)
{
  Locale locale;
  try {
    IfTable table;
    
    table.getTable();

    table.display();

  } catch (int err) {
    _tprintf(_T("Exception %d\n"), err);  
  }
}

Last modified: 2 May 2016

Copyright (c) 2016 Antillia.com ALL RIGHTS RESERVED.