$DefaultNetworkInterface
gives the default network interface used on your machine.
Details
- Network interfaces are specified by string names such as "en0".
- $NetworkInterfaces gives a list of all network interfaces on your machine.
Examples
Wolfram Research (2018), $DefaultNetworkInterface, Wolfram Language function, https://reference.wolfram.com/language/ref/$DefaultNetworkInterface.html.
Text
Wolfram Research (2018), $DefaultNetworkInterface, Wolfram Language function, https://reference.wolfram.com/language/ref/$DefaultNetworkInterface.html.
CMS
Wolfram Language. 2018. "$DefaultNetworkInterface." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/$DefaultNetworkInterface.html.
APA
Wolfram Language. (2018). $DefaultNetworkInterface. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/$DefaultNetworkInterface.html