$NetworkInterfaces

$NetworkInterfaces

gives the list of network interfaces available on your machine.

Details

  • Network interfaces are specified by string names such as "en0".
  • The default network interface is given by $DefaultNetworkInterface.

Examples

Basic Examples  (1)

List all the available network interfaces on your machine:

In[1]:=
Click for copyable input
Out[1]=

See Also

$DefaultNetworkInterface  NetworkPacketCapture  NetworkPacketRecording  $NetworkConnected  FindDevices

Introduced in 2018
(11.3)