[Klone-users] Connected port.
Stefano Barbato
barbato at koanlogic.com
Wed Dec 19 07:41:16 EST 2007
On 19/dic/07, at 12:33, radek.hnilica at gmail.com wrote:
>
> But now I'm stuck with network part of local address. I did not find
> a way how to get a mask of the local interface. I need this to see if
> the client is on local network or not.
that's OS-specific I think.
for example on Linux you can use the SIOCGIFADDR command of ioctl():
http://publib.boulder.ibm.com/iseries/v5r2/ic2924/index.htm?info/apis/ioctl.htm
bye,
s
More information about the klone-users
mailing list