On Sun, 21 Feb 2010, David Arturo Macias Corona wrote:
Hi,
> >Sorry my typo. It should be:
> > TODDO: sync names of lang and corresponding codepage modules.
> TODDO ? :-)
Ups :)
> >2010-02-21 13:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
> > * harbour/src/rtl/hbsocket.c
> > ! fixed OS2 builds using TCPV40HDRS - please test
> It work
> os2gcc442, with -DTCPV40HDRS
> =======================
> OS/2 4.50 Harbour 2.1.0dev (Rev. 13945) EMX GNU C 4.4.2 (32-bit)
> interfaces:
> {2, "lo", 21, "127.0.0.1", "255.0.0.0", NIL, NIL, NIL}
> {2, "lan0", 19, "192.168.1.110", "255.255.255.0", "192.168.1.255", NIL, NIL}
> {2, "lan1", 19, "192.168.2.64", "255.255.255.0", "192.168.2.255", NIL, NIL}
>
> Output is shorter, does not include next kind of line. Is correct ?
> {18, "lan0", 19, NIL, NIL, NIL, NIL, NIL}
Yes. When 0 is passed explicitly as 2-nd hb_inetIfInfo() parameter then
all interfaces are shown. 18 is AF_LINK.
Shorter results means that TCPV40HDRS implementation does not support it.
If you want only IP4 interfaces then simply use hb_inetIfInfo() without
second parameter.
best regards,
Przemek
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour