|
by: ruggierorizzi |
last post by:
Hi everyone,
i would like to know if there is a difference between gethostbyaddress
method and $_SERVER.
furthermore i hve a little problem using ip address resolution. Some ip
address are resolved other not. Why?
|
by: Rushikesh Joshi |
last post by:
Hi Friends
I am having some query.
On a server two site hosted
1) magnamags.com
2) stardustindia.com
Now when I am resolving the IP address for this both sites. I am
getting 202.71.136.211 (using GetHostByName).
|
by: Amy L. |
last post by:
When I make the following call:
IPHostEntry hostInfo = Dns.GetHostByAddress( hostIPAddress ) ;
If the PTR (i.e. the IP address to name resolution) does not exist my
program will start making Netbios calls (Name query to the remote host).
The netbios lookup is very undesired.
Is there a way to not perform the netbios query if the PTR record does not
exist?
|
by: RZ |
last post by:
Hi Folks,
I wrote an app to scan our Packet Filter logs for certain IPs. It uses
GetHostByAddress().
I used multi-threading to get around the 2 second hang. The remaining
problem is that
GetHostByAddress() also attempts to resolve the machine name via NetBIOS.
After
running the application, the blocked packets to port 137 from our own IP are
added
|
by: Sven |
last post by:
Hi!
I have a problem with
System.Net.Dns.GetHostByAddress(ls_Request.UserHostAddress()).HostName
Usually the call GetHostByAddress returns the correct hostname of the
client, but sometimes I get a hostname like _CERDR1342B88E.
Why? The clients are running under Windows CE.NET 4.1...
|
|
by: Jed |
last post by:
I have a class for logging information about user activity on a web site, but
it suddenly became really slow. I was wondering what factors may have
caused the slow down.
Initially, I used the following code:
ul.HostName = context.Request.UserHostName;
Since the UserHostName is not always resolved, I opted for the following
more effective code:
IPAddress hostIPAddress = IPAddress.Parse(context.Request.UserHostAddress);
|
by: Jerome Lavalley, MCSE |
last post by:
I have an application that does a reverse lookup using
System.net.dns.gethostbyaddress, however I am encountering some problems.
If the application resolves the address of another machine it works fine,
but when resolving its own address, I get incorrect results.
SERVERA has 2 IP addresses (IPA1, IPA2). Each IP address has one DNS entry
(HOSTA1, HOSTA2)
SERVERB has 2 IP addresses (IPB1, IPB2). Each IP address has one DNS entry...
|
by: huzz |
last post by:
I wrote a method which takes an ip address and returns hostname as shown below.
It works fine.. only problem i have is when the passed ip address is not
found in the database the method throws this error message :
The requested name is valid and was found in the database, but it does not
have the correct associated data being resolved for
How can i prevent this error message and instead return "-" ?
Many Thanks.
|
by: Steve Richter |
last post by:
I am using Dns.GetHostByAddress and Dns.Resolve to successfully
resolve and IP address to an IPEndPoint.
IPEndPoint ep = null;
IPAddress ipAddr = IPAddress.Parse(m_sRemoteHost);
ep = new IPEndPoint(Dns.GetHostByAddress(ipAddr).AddressList,
m_iRemotePort);
// ep = new IPEndPoint(Dns.GetHostEntry(ipAddr).AddressList,
m_iRemotePort);
// ep = new IPEndPoint(Dns.Resolve(m_sRemoteHost).AddressList,
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|