SOL9 Sample: IPInterfaceChangeNotifier

SOL9 2.0 Samples

1 Screenshot


2 Source code

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


#include <sol/net/IPInterfaceChangeNotifier.h>


void _tmain(int argc, TCHAR** argv)
{
  try {
    HWND hwnd = NULL;
    IPInterfaceChangeNotifier notifier(hwnd);
    notifier.start();
    bool looping = true;
    while (looping) {
      Sleep(1000);
    }
    
  } catch (...) {
    printf("Exception\n");
  }
}

Last modified: 2 May 2016

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