Hey, C! What's my IP?
Topher Fischer
javert42 at cs.byu.edu
Tue Jan 16 21:22:36 MST 2007
Is there a "standard" (de facto or otherwise) way of finding a local
machine's IP address in C? I've googled about, but I still haven't
found what I'm looking for. The only thing I've come up with so far is
calling gethostbyname on my machine's hostname, but that obviously won't
work when I leave my home network.
Any ideas?
Byron?
--
Topher Fischer
GnuPG Fingerprint: 3597 1B8D C7A5 C5AF 2E19 EFF5 2FC3 BE99 D123 6674
javert42 at cs.byu.edu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
Url : http://plug.org/pipermail/plug/attachments/20070116/c5eea008/signature.pgp
More information about the PLUG
mailing list