File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
- # NetworkInterfaces .jl
1
+ # NetworkInterfaceControllers .jl
2
2
Extensions to Julia's LibUV to help with working with multiple NICs per node.
3
3
4
4
## Methods
5
5
6
6
1 . ` get_interface_data(<:IPAddr; loopback=false) ` returns IP addresses, versions, and interface names of all connected interfaces. Eg:
7
7
``` julia
8
- julia> using NetworkInterfaces, Sockets
8
+ julia> using NetworkInterfaceControllers, Sockets
9
9
julia> get_interface_data (IPv4)
10
- 1 - element Vector{NetworkInterfaces . Interface}:
10
+ 1 - element Vector{NetworkInterfaceControllers . Interface}:
11
11
NetworkInterfaces. Interface (" wlp114s0" , :v4 , ip " 192.168.100.64" )
12
12
```
13
13
Helpful when multiple NICs are connected to a node, and you want to find the IP address corresponding to a specific NIC
You can’t perform that action at this time.
0 commit comments