On 8/21/07, Dean Harding <[EMAIL PROTECTED]> wrote:
> Here is the output for two different addresses:
>
> D:\Projects\TestProject\bin\Debug>test 10.0.0.33
> Testing: 10.0.0.33
> Hostname: xx
> Address: fe80::69eb:837:6a0:5c66%8
> Address: fe80::5efe:10.0.0.33%11
> Address: 10.0.0.33
>
> D:\Proj
> I've tested this. I provided IP, that definetelly isn't active in my
> netwrok and isn't on my DNS. I got result without problems. I can send
> you video. :)
Alright. Here is a program that I ran on my computer:
public static void Main(string[] args)
{
string address = args[0];
First of all, thank you for all your responses. All the different ideas
conducted me to the solution.
I solved the problem by replacing Dns.GetHostEntry() in GdsConnection.cs,
function private IPAddress GetIPAddress(string dataSource, AddressFamily
addressFamily) with it's older brother, Dns.Ge
On 8/20/07, Dean Harding <[EMAIL PROTECTED]> wrote:
> But that has not been my experience: I have seen it return a *different* IP.
> Also, if you do not have reverse DNS set up for that IP, then you won't get
> any results at all. For example, here is a MySQL bug related to
I've tested this. I pro
> Yep, but internally. Then you get back your IP (the IP you provided)
> and maybe some others. But this isn't the problem. He has 2 NICs on
> "client" not on server (if I understand).
But that has not been my experience: I have seen it return a *different* IP.
Also, if you do not have reverse DNS
On 8/20/07, Dean Harding <[EMAIL PROTECTED]> wrote:
> > If you provide IP, there's no hostname.
>
> Yes, but Dns.GetHostEntry does a reverse lookup on your IP to *get* the
> hostname. Have a look in Reflector -- it ends up calling gethostbyaddr on
> your address.
Yep, but internally. Then you get
> If you provide IP, there's no hostname.
Yes, but Dns.GetHostEntry does a reverse lookup on your IP to *get* the
hostname. Have a look in Reflector -- it ends up calling gethostbyaddr on
your address.
Dean.
-
This SF.net
On 8/20/07, Dean Harding <[EMAIL PROTECTED]> wrote:
> > I have 2 NICs in my notebook too. I don't have this problem. And the
> > Dns.GetHostEntry() returns (should) for IP the same IP, that's all.
>
> Actually, that's not true. Dns.GetHostEntry() actually queries the DNS
> server to get the name co
> I have 2 NICs in my notebook too. I don't have this problem. And the
> Dns.GetHostEntry() returns (should) for IP the same IP, that's all.
Actually, that's not true. Dns.GetHostEntry() actually queries the DNS
server to get the name corresponding to that IP, and then returns all the IP
addresses
On 8/17/07, Dean Harding <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Actually, this is a problem I noticed in some of my own code as well. The
> solution is to try and parse the string as an IP address before calling
> Dns.GetHostEntry, like so:
>
>
>
I have 2 NICs in my notebook too. I don't have this p
];
}
Or something (I don't remember the exact syntax).
Dean.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Cosmin Sandu
Sent: Friday, 17 August 2007 10:20 PM
To: firebird-net-provider@lists.sourceforge.net
Subject: Re: [Firebird-net-provider] Connection problem fro
I did some more tests by debugging with the sources of
FirebirdSql.Data.FirebirdClient (version 2.5.0 Alpha 1,
the latest) and I isolated the error to this:
in:
GdsConnection.cs
function:
private IPAddress GetIPAddress(string dataSource, AddressFamily addressFamily)
the line:
IPAddress[] add
What is CAS on C# application on server? It's full trust or some limited?
--
Jiri {x2} Cincura (Microsoft Student Partner)
http://blog.vyvojar.cz/jirka/ | http://www.ID3renamer.com
-
This SF.net email is sponsored by: Splunk
The database server is a Linux machine. I wouldn't know how to develop a server
(using sockets) that runs on Linux so I could test the connection using
sockets, but I don't think that the problem comes from here, since there are
some Delphi - Interbase apps on the same Windows 2003 machine that
You have probably firewall on.
--
Jiri {x2} Cincura (Microsoft Student Partner)
http://blog.vyvojar.cz/jirka/ | http://www.ID3renamer.com
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to f
Hello,
I have a connection problem from a Windows 2003 Standard Edition using
FibProvider from a C#2005 application to an Interbase Server.
The system I use is the following:
Application written in C#2005, .Net Framework 2.0, FibProvider 2.0, hosted
on a Windows 2003 Standard Edition
16 matches
Mail list logo