>> I am writing a server application and want to know
>> how to get the local ip address after the application
>> starts up and before any UDP or TCP packets have come in?
>>     
>
> use LocalName for getting name of your computer and then translate 
> this name to set of IP addresses by resolvenametoIP.
>   
Will this work if I have more then one network card (ie. more then one 
IP)? Can I get each individual IP this way?


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to