Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Systems Interfaces & Deployment > Mathematica System Setup > System & License Management >

$MachineAddresses

$MachineAddresses
gives a list of strings specifying the current IP addresses associated with the computer on which Mathematica is being run.
  • $MachineAddresses gives {} if no network address is defined, so that the computer is effectively "off line".
  • $MachineAddresses will typically give a list with one element for each network adapter on your computer.
  • If a network configuration is changed, the value of $MachineAddresses may change during the course of a single Mathematica session.
New in 6
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team