SOL9 2.0 Sample: IPInterfaceChangeNotifier

SOL9 2.0 Samples

1 Screenshot


2 Source code

/*
 * IPInterfaceChangeNotifier.cpp 
 * Copyright (c) 2009 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();

        while (1) {
            Sleep(1000);
        }
        
    } catch (...) {
        printf("Exception\n");
    }
}

Last modified: 11 Nov 2009

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