John,

I use the System.Net.Sockets class to connect to OpenSRS. For the encryption, I'm using Markus Hahn's C# Blowfish classes. I imagine you're using the same. There's a document floating around in the archives of this list that I used to create the function to create my password hash (unfortunately you can't just use the binary version version of the password key provided by OpenSRS).

Sorry, the project is not on Sourceforge. It's an internal project for my company and I'm not sure they'd appreciate the source for this component floating around. However, I'll try to assist you if I can.

From the brief description of your current problem, it sounds like you're either not sending the "Content-length: " properly before the XML messages (send it for both of the XML messages) or that there's a problem with the XML messages themselves. Another possibility is that your username does not have a password hash created on the test server of OpenSRS, although I imagine that you probably already have that.

Isaac

-----Original Message-----
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sun, 17 Aug 2003 08:06:31 -0400
Subject: RE: Authenticated but messages unrecognized with custom client

We are working on a VB.Net if you don't mind I'd like to ask you a few
questions?

Did you use the TCPClient class or the Sockets class?

Which encryption are you using? I have a C# blowfish class, but we
haven't gotten to that point yet.

Is your project on Sourceforge?

We have written a message class that produces the XML, and I am at the
point in the process where the server is supposed to send me "a random
number of random bytes", but the server keeps dropping the connection
after my AUTH XML package is sent.

John W Roche
eInfosystems.net

Reply via email to