Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
KeKs #1
Member since Jul 2012 · 2 posts
Group memberships: Members
Show profile · Link to this post
Subject: Socket exception when using ip adresses
Hello,

I'm using agsxmpp to connect to a xmpp server. Unfortunately I only have the ip adress of the server and no domain. When using the ip adress i'm always receiving a socket exception.

System.Net.Sockets.SocketException (0x80004005): Unknown host
   in System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)
   in System.Net.Dns.GetHostEntry(String hostNameOrAddress)
   in agsXMPP.Net.ClientSocket.Connect()

Is there a way to use ip adresses for the server name? Or are there other ways to handle this?

Regards
Keks
Avatar
Alex #2
Member since Feb 2003 · 4327 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
This should work in the latest version. Are you using the latest SVN code?

Alex
Avatar
KeKs #3
Member since Jul 2012 · 2 posts
Group memberships: Members
Show profile · Link to this post
Jep, works.

Thank you.

KeKs
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