Re: How do I get my own IP address?

new topic     » goto parent     » topic index » view thread      » older message » newer message
useless said...

I didn't mean to ask for a definition, i was trying to convey the meaning of the word "how" when i asked him to "spill it". In what way or manner or by what method does Jeremy specify which nic to use to contact the world outside the computer, and by using what Eu code.

Hm, contacting the world outside the computer is not so hard. To allow the outside world to connect to you is not so hard either, just bind to 0.0.0.0. Now, when it comes to binding only to a particular address of the many available, you pretty much have to have a config file and let the user choose or specify on the command line.

All of that, though, is not determining your local address. If you truly need to do that intelligently, then you need to filter out some common standards such as 192...., 10..., etc...

Jeremy

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu