[sane-devel] Network protocol implementation (fwd)

Shailendra Mehta shailendra.mehta at tatainfotech.com
Tue Feb 26 10:57:00 GMT 2002


Hi,
Thanks for your help.
I have Xsane downloaded on windows.
But I want to change the GUI to make it more like other 
windows applications.
For that is net backend available as windows library?

Thanks again in advance

Regards
Shailendra


On Tue, 26 Feb 2002, Andre Herms wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 
> Hi,
> 
> > Hi all,
> > I am familiar with one hylafax package in
> > which I was able to see network protocol by
> > telneting the server "telnet <serverip> 4559"
> > & you can enter "HELP" it used to show help.
> > I was able to login with "USER" command & so on.
> > But I am not getting any such HELP on saned server.
> > What are the commands that need to be given so as
> > to get the protocol working?
> > The listed protocol in documentation contains
> > "SANE_NET_CANCEL" etc which doesn't tell how the protocol
> > to be implemented.
> > Lastly any windows port is available for net backend?
> >
> > Thanks & regards
> > Shailendra
> 
> The sane network protocol is no plain text protocol. So you cannot use telnet 
> to trace it. It is more or less the sun rpc protocol. Nummeric parameters are 
> transmitted as 4 byte of data, not as string. In the sane documantation you 
> can find how it is encoded. But don't try to reimplement it by the specs 
> given in the documentation. They are not up to date anymore. 
> 
> If you want to use it with windows - it should work. You can get the net 
> backend code and compile it. At least with cygwin this works and so XSane 
> runs under windows. 
> 
> But if you really want to do some more with the protocol - don't waste your 
> time. It is really ugly and has some bad race conditions and design failures. 
> 
> Bye 
> 	Andre
> 
> - -- 
> Andre Herms                   mailto:aherms at 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
> 
> iD8DBQE8e19FK/HaDUFBducRAoZQAJ93j60C6fbVLrcaa+C5zlHTxaTiawCfef3l
> OuA8zEt5GtdVRBoLCWyVQkU=
> =lWul
> -----END PGP SIGNATURE-----
> 





More information about the sane-devel mailing list