> The ioctl call SIOCGIFADDR, when used to get the internet addresss of an
> interface, behaves erradically.
i have noticed this as well. i got around it by doing the ioctl a 2nd
time. works reliably so long as you make at least 2 ioctl()s, and as
ifconfig displays, they don't both have to be the same ioctl.
--- Why Linux? source code. POSIX. tcpip. job control. support from the authors. drivers for most hardware. because one terminal or process is never enough. forget the other O/Ss, i use Linux- the choice of a gnu generation.