Not logged in. · Lost password · Register
Forum: agsXMPP SDK Support RSS
Page: previous  1  2  3  4  5  6  7  next
Avatar
scharfed #61
Member since Jul 2006 · 33 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 1266
Address = "jshaffer@rali.shepherdmed.com/MiniClient

It has the correct value.
Avatar
Alex #62
Member since Feb 2003 · 4245 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
no, there is something wrong. This must be a valid IP Adress or domain name.

Alex
Alexander Gnauck
AG-Software
Avatar
scharfed #63
Member since Jul 2006 · 33 posts
Group memberships: Members
Show profile · Link to this post
I'm sorry, I dont understand.  What should the value of Address be then?  I did not edit the code at all.
Avatar
Alex #64
Member since Feb 2003 · 4245 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
In reply to post ID 1266
  1. IPHostEntry ipHostInfo = Dns.Resolve(Address);
this code is resolving a domain name to an ipAdress, so until Adress is not a valid domain name or ipadress it will fail.
We tested the filetransfer code against PSI and Exodus clients without problems.
We have not tried 2 MiniClients yet.

Alex
Alexander Gnauck
AG-Software
Avatar
scharfed #65
Member since Jul 2006 · 33 posts
Group memberships: Members
Show profile · Link to this post
Yes, when using Psi, Spark, or Exodus, file-transfer using MiniClient is seamless :)

But when using 2 MiniClients, this issue arises.
Avatar
simons #66
User title: Simon shaw
Member since May 2006 · 30 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 1266
If you are using VS2005 you should be using
Dns.GetHostEntry(Address);
as
IPHostEntry ipHostInfo = Dns.Resolve(Address);
has been depracated
Avatar
Alex #67
Member since Feb 2003 · 4245 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
In reply to post #64
we will look at this issue if we have some minutes.
Alexander Gnauck
AG-Software
Avatar
scharfed #68
Member since Jul 2006 · 33 posts
Group memberships: Members
Show profile · Link to this post
Thank you, but I made the code change and the exception still occurs when using two MiniClients.
This post was edited on 2006-08-14, 22:20 by scharfed.
Avatar
Alex #69
Member since Feb 2003 · 4245 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
what Simon adressed is not the problem here.

On .NET 2.0 Dns.GetHostEntry should be used instead of Dns.Resolve. But both still work of course because of compatibility to .NET 1.0 and 1.1. We still use the old functions because the SDK is compatible to .NET 1.1. It's on our TODO list to replace it on 2.0 and use defines.

Alex
Alexander Gnauck
AG-Software
Avatar
scharfed #70
Member since Jul 2006 · 33 posts
Group memberships: Members
Show profile · Link to this post
It seems like an easy fix.  When sending a file to another MiniClient, the jid is resolved as the hostname (Address) when it should be the ipaddress of the computer sending the file.  Where in the code is the JID being sent out instead of the IPAddress?  I think it is in frmFileTransfer.cs somewhere, but I cannot find it yet.
Avatar
Alex #71
Member since Feb 2003 · 4245 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
its sending the hosts in frmFileTransfer.cs SendStreamHosts()
i just tried 2 MiniClients on my local machine and had no problems to send and receive files.

Alex
Alexander Gnauck
AG-Software
Avatar
scharfed #72
Member since Jul 2006 · 33 posts
Group memberships: Members
Show profile · Link to this post
I'll work on isolating this issue.  I'll edit this post with more details later.
This post was edited on 2006-08-15, 00:49 by scharfed.
Avatar
Alex #73
Member since Feb 2003 · 4245 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
it does also work for us between 2 different machines in our office.
Also works in a virtual VMware Network. It shouldn't matter if you run the clients local, in a LAN or over the internet.

Alex
Alexander Gnauck
AG-Software
Avatar
simons #74
User title: Simon shaw
Member since May 2006 · 30 posts
Group memberships: Members
Show profile · Link to this post
Works for me as well when testing with 2 separate machines on the same LAN.
Avatar
Alex #75
Member since Feb 2003 · 4245 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
In reply to post #72
Quote by scharfed on 2006-08-15, 00:33:
I'll work on isolating this issue.  I'll edit this post with more details later.

any news on your problem?
Are you sure you run the latest file transfer code?

Alex
Alexander Gnauck
AG-Software
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:
Page: previous  1  2  3  4  5  6  7  next
Forum: agsXMPP SDK Support RSS