Partially correct. The network interface is up means the network card exist and up, but it doesn't mean it has connection to the network. You can verify this by unplug your network cable and then perform ifconfig, you will still the interface and everything looks just fine, which is correct because the network card is perfectly fine besides no connectivity through the ethernet card.
I have found a way to resolve this: When programmaticall y...
User Profile
Collapse
-
-
I am writing a program to report how many network interface is available in the machine and also if they have connection to the network, not just the network interface is up. I am written this in C++. Thanks...Leave a comment:
-
One thing I forget to mention is that The Linux is having multiple active ethernet cards. I tried ifconfig but it did not give me any information regarding the connection is gone for the network interface. Ping command works when they can reach out to the destination using other network interface.
You may ask why do I need multiple (actually two) ethnet cards. This is a as is situation and I can do nothing about it. =)...Leave a comment:
-
How to detect the network cable is unplugged in Linux
Hi,
I have the following situation. When I unplugged the network cable from a running ethernet card in a Linux box, there has no sign telling me the cable is unplugged from the system perspective (unless I try to perform socket connect). Does any one know how to accomplish this in C++?
The reason behind this is I need to know if the connection is available for that particular network card in the application.
... -
ASP - broken html tag displayed when I send email with html body
Hi folks,
I encounter an problem when my asp page send an email with html body. I successfully receive the mail and most of the contents are correctly displayed except some html tag is broken and is displayed in the html page. I captured the html source of the email content and pasted it into notepad (without word wrap). I realized the tag is broken up into separate line (e.g. "<" is on the first line and "td>"...
No activity results to display
Show More
Leave a comment: