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
22Extensions to Julia's LibUV to help with working with multiple NICs per node.
33
44## Methods
55
661 . ` get_interface_data(<:IPAddr; loopback=false) ` returns IP addresses, versions, and interface names of all connected interfaces. Eg:
77``` julia
8- julia> using NetworkInterfaces, Sockets
8+ julia> using NetworkInterfaceControllers, Sockets
99julia> get_interface_data (IPv4)
10- 1 - element Vector{NetworkInterfaces . Interface}:
10+ 1 - element Vector{NetworkInterfaceControllers . Interface}:
1111 NetworkInterfaces. Interface (" wlp114s0" , :v4 , ip " 192.168.100.64" )
1212```
1313Helpful 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