SOL9 2.0 Sample: TcpTableOwnerPid

SOL9 2.0 Samples

1 Screenshot


2 Source code

/*
 * TcpTableOwnerPid.cpp 
 * Copyright (c) 2009 Antillia.com TOSHIYUKI ARAI. ALL RIGHTS RESERVED. 
 */


// SOL9
// 2009/08/22

#include <sol/net/TcpTableOwnerPid.h>

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

void main(int argc, char** argv)
{
    try {
        TcpTableOwnerPid table;
        
        table.getTable();

        table.display();

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

Last modified: 11 Nov 2009

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