[sane-devel] Network protocol implementation

Andre Herms aherms@cs.uni-magdeburg.de
Wed, 27 Feb 2002 01:40:54 +0100


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


> Hi,
>
> On Tue, Feb 26, 2002 at 08:52:47PM +0100, Andre Herms wrote:
> > Okay - I tried to reinvent the wheel :-). I took the sane documentation
> > and tried to write my own saned. I implemented the specs (SANE Network
> > protocol, found on the sane homepage). I didn't work together with the
> > net backend. So I took the original saned source code and had to
> > recognize, that it doesn't confirm with the specs.
> >
> > There were some bugfixes in the saned and this is good but the specs
> > where not updated.
>
> If I remeber correctly, all the fixes done by me were implementation
> bugs, not bugs in the satndard itsself. However, I don't know what
> happened before I touched the code.
>
> Do you remember which part of the protocol exactly is wrong/not updated?

Not exactly - only it had something to do with the parameters. There was a 
pointer to an integer instead of a integer or something like that. I only 
know that it was impossible for me to figure out what the correct parameters 
for some functions were. So later I copied the saned code and it worked :-).



- -- 
Andre Herms                   mailto:aherms@cs.uni-magdeburg.de
                              http://www.cs.uni-magdeburg.de/~aherms
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8fCsWK/HaDUFBducRAjWGAJ0SE888zB5Nv5LSe9o2V/EWhSig7gCdFgMJ
6k0sZE5LwABKOU2mMVB5wU0=
=1lcW
-----END PGP SIGNATURE-----