network-interface
How do you get the IP address of a given network interface?
In Python is there a function to get the IP address of a given network interface? Is there a command line programme that get do this?[详细]
2023-04-01 21:11 分类:问答How to disable loopback interface in Linux (Fedora)?
So that requests to localhost are treated as if coming 开发者_StackOverflow社区from remote host in LAN?Have you tried updating your /etc/hosts file, replacing:[详细]
2023-04-01 05:47 分类:问答How to control whether iOS uses 3G/GSM network of WiFi for HTTP request
I have a strange behavior on my iOS device when connecting to a local web server via HTTP and WiFi. Here\'s the setup:[详细]
2023-03-30 04:27 分类:问答NetworkInterface's getNetworkInterfaces() to JComboBox
First Question NetworkInterface.getNetworkInterfaces(); returns a Enumeration type. each element of the Enumeration has a getDisplayName() method which returns a string such as en0, en1, vnic1 etc.[详细]
2023-03-19 20:12 分类:问答How to get the network interface type
Is there an option to identify the network interface type in java. The reason for asking this question is some set of Sun hardware boxes have a special kind of interface (DSCP interface) u开发者_开发知[详细]
2023-03-08 13:03 分类:问答How to programmatically select network card that is connected to the internet in .NET
I want to prog开发者_运维技巧rammatically select the network card that is connected to the Internet. I need this to monitor how much traffic is going through the card.[详细]
2023-03-05 05:46 分类:问答Can anyone explain why Java GetNetworkInterfaces returns so many interfaces on Windows 7
I have been using NetworkInterface.getNetworkInterfaces() to query the Network Interfaces on my machine. Essentially I am trying to find Network Interface Cards. These are usually called something lik[详细]
2023-03-04 17:56 分类:问答Get current QNetworkInterface active and connected to the internet
I would like get the current network interface active and connected to the internet. Actually, I can check if a network is up and if is not a loop back network.[详细]
2023-02-22 08:18 分类:问答pcap_findalldevs_ex function is undefined
I am trying out an example of obtaining advanced information about installed n/w devices from WinPcap.[详细]
2023-02-15 18:53 分类:问答SSDP and interface IP address
I\'m writing a UPnP AV/DLNA DMS which needs to send and receive SSDP messages. In response to some M-SEARCH packets I need to send a reply with the URL of a resource (in this case a HTTP server), whic[详细]
2023-02-14 15:41 分类:问答