DNSClient over Mono 2.4.2

Feb 22, 2011 at 2:03 PM

Hi all.
Few days ago found this cool library and try it. In the begining I used in .NET in Windows, all it's ok.
But... now when  I'm trying to use in Mono 2.4.2 ... app crash :(.
Anyone can use the library in Mono 2? 
Thanks all!

Coordinator
Mar 10, 2011 at 7:08 PM

Hi,

I'm using the library for my own purposes using Mono and can confirm, that it is definitly working on version 2.6.7.

Can you provide more information about the problem e.g. exceptions, callstacks, source snippets of your usage?

Alex

Apr 3, 2011 at 11:47 PM

Hi Alex.

The problem is in "ARSoft.Tools.Net.IPAddressExtension".

One error example:

"/path/path/Projects/server-side-mono/server-side-mono/ARSoft.Tools.Net/Spf/SpfTerm.cs(55,55): Error CS1061: Type `System.Net.IPAddress' does not contain a definition for `GetNetworkAddress' and no extension method `GetNetworkAddress' of type `System.Net.IPAddress' could be found (are you missing a using directive or an assembly reference?) (CS1061) (server-side-mono)"

From the code:

private static bool? IsIp4Match(string domain, IPAddress ipAddress, int? prefix4) {

if (prefix4.HasValue) {

ipAddress = ipAddress.GetNetworkAddress(prefix4.Value);

}

In SpfTerm.cs file.

Thanks in advance!

ffranz