Re: How do I get my own IP address?
- Posted by jeremy (admin) Sep 21, 2009
- 2278 views
Eight computers, each with onboard 10/100 lan and one pci 10/100/1000 lan card. The 100lan goes to a 24port 100switch which also goes to the rest of the house and the internet. The 1000lan pci cards go to a 1000lan switch. This way, the 8 can talk amongst themselves really fast and i don't need to buy a 24port 100/1000 for the entire house. And i can use different filter rules in each switch. So how to tell Eu code which nic to use, based on that code's purpose?
I think I mentioned earlier that the you should accept either a command line option or a configuration file in situations where you wish to get very advanced.
Now, when you say based on that code's purpose, what code? I don't know still if you are wanting to run a server, want udp, tcp, to utilize broadcasting or something else even. So, it's still just about impossible to answer your question. This original thread was to simply get a computers local IP address. Maybe you need a new thread for this question?
Jeremy