bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Network Device Informations


From: Prochnow, Christian
Subject: Network Device Informations
Date: Wed, 13 Nov 2002 14:26:23 +0100
User-agent: KMail/1.4.3

Hi List,

For a networking application i needed to query a list of Network Devices and 
their Broadcast addresses to ignore Broadcasts from my own. Here's the 
solution which i think is of interest for implementing it in Common C++.

This solution is tested under Linux, but should also work under other UNIX 
systems which needs to be verified. Win32 stuff is also implemented, but 
untested. I also did'nt find a way to get the MTU under Win32 without braking 
compatibility with Win95 (with >= Win98 it is possible to get the MTU via MIB 
extensions).



Regards,
Christian Prochnow

Attachment: network.h
Description: Text Data

Attachment: network.cpp
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]