Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
jason #1
Member since Oct 2007 · 9 posts
Group memberships: Members
Show profile · Link to this post
Subject: Mono System.DllNotFoundException: Iphlpapi.dll
I am trying to run .net 2.0 version of agsxmpp \agsXMPP SDK\1.10\agsxmpp\bin\Net2\Debug\agsXMPP.dll on mono 2.4 CentOS. If I just use the agsXMPP.dll as is I get the following dll not found error

System.DllNotFoundException: Iphlpapi.dll

If I remove WIN32 from compilation symbols I get a socket connection error and it never connects to the xmpp server.

Can you provide any information on the proper approach to get this working on mono?

Thanks

Jason
Avatar
Alex #2
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
On Mono there is no SRV support. So you have to specify the ConnectServer on your code.
The Iphlpapi.dll is used on windows to find the registered dns servers for srv lookups. IF you add some lines which read the DNS servers on linux this will work as well.

Alex
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS