Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
tony_chen #1
Member since Jan 2008 · 2 posts
Group memberships: Members
Show profile · Link to this post
Subject: transfer file fail from JEP65Socket
Hey everyone, i am very glad to come here, XMMP is really a excellent frame.

I am test tranfer file using MiniClent, but i alway got a "Hash Does not match" exception, it's appreciated if some can point me to right way


//JEP65Socket.cs
            if (string.Compare(Hash, Hash2, true) == 0)
            {

            }
            else
            {
                throw new Exception("Hash does not match");
            }
Avatar
Alex #2
Member since Feb 2003 · 4317 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Hello,

are you testing to transfer the files between 2 MiniClients?

Can you please try to get some debug from the BuildHash() function in JEP65Socket?

The values of:
m_SID
m_Initiator.ToString()
m_Target.ToString()

Thanks,
Alex
Avatar
tony_chen #3
Member since Jan 2008 · 2 posts
Group memberships: Members
Show profile · Link to this post
Hey,Alex, appreciate your reply,

Sometimes, it throws the exception, sometimes is ok,

So strange, I have commented these lines codes, :) it seems that works well.

Thanks,
Avatar
Alex #4
Member since Feb 2003 · 4317 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
this is strange if the hash does not match something is going wrong.
I would still be interested at the debug to see why the hash does not match.

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