Page 1 of 1

Acquire NIC Address

Posted: Wed Feb 17, 2010 8:59 pm
by gpearson
As I learn RR I am creating a project for a fantasy football league. The server component of this that will store all of the daily/weekly results, I am wanting the ability to grab the IP Address of the NIC on the computer and display it in a text field so that when the admin clicks a button the application would be able to listen for connections on that ip address and port number.

Does anyone have resources on how this can be done

Re: Acquire NIC Address

Posted: Thu Feb 18, 2010 11:03 am
by RRobert
The simplest way is to use ifconfig on Mac OS X and Linux and ipconfig under Windows via the RunRev shell function.

Robert