[Mono-list] How to determine local IP address with mono on linux?
Adam Tauno Williams
adam at morrison-ind.com
Fri Mar 24 16:13:22 EST 2006
On Fri, 2006-03-24 at 12:08 +0000, Colin JN Breame wrote:
> You can get the address using the SIOCGIFADDR ioctl. You'd probably have to
> do this in C. Your best bet might be to parse the output from ifconfig.
Can't this information be acquired just by reading some file in /proc?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/mono-list/attachments/20060324/f8a5caf0/attachment.bin
More information about the Mono-list
mailing list