kopia lustrzana https://gitlab.com/sane-project/website
89 wiersze
4.3 KiB
HTML
89 wiersze
4.3 KiB
HTML
<!-- received="Sun May 24 03:12:35 1998 PDT" -->
|
|
<!-- sent="Sun, 24 May 1998 09:25:51 +0300 (EET DST)" -->
|
|
<!-- name="Firikis Milon" -->
|
|
<!-- email="milonf@mbox.ariadne-t.gr" -->
|
|
<!-- subject="Re: NT frontend" -->
|
|
<!-- id="199805240625.JAA04087@mbox.ariadne-t.gr" -->
|
|
<!-- inreplyto="m0ycx7G-0000WyC@charon.beck-sw.de" -->
|
|
<title>sane-devel: Re: NT frontend</title>
|
|
<h1>Re: NT frontend</h1>
|
|
<b>Firikis Milon</b> (<a href="mailto:milonf@mbox.ariadne-t.gr"><i>milonf@mbox.ariadne-t.gr</i></a>)<br>
|
|
<i>Sun, 24 May 1998 09:25:51 +0300 (EET DST)</i>
|
|
<p>
|
|
<ul>
|
|
<li> <b>Messages sorted by:</b> <a href="date.html#241">[ date ]</a><a href="index.html#241">[ thread ]</a><a href="subject.html#241">[ subject ]</a><a href="author.html#241">[ author ]</a>
|
|
<!-- next="start" -->
|
|
<li> <b>Next message:</b> <a href="0242.html">Fredrick P. Eisele Sr.: "Reverse Engineering"</a>
|
|
<li> <b>Previous message:</b> <a href="0240.html">Bob van der Poel: "configure problem solved"</a>
|
|
<li> <b>In reply to:</b> <a href="0231.html">becka@rz.uni-duesseldorf.de: "Re: NT frontend"</a>
|
|
<!-- nextthread="start" -->
|
|
<!-- reply="end" -->
|
|
</ul>
|
|
<!-- body="start" -->
|
|
<i>> </i><br>
|
|
<i>> Hi !</i><br>
|
|
<i>> </i><br>
|
|
<i>> > Well, if someone will give me the network protocol specification SANE uses</i><br>
|
|
<i>> > to talk, writing a TWAIN wrapper to use with a SANE networked scanner will</i><br>
|
|
<i>> > suddenly become a higher priority project on my list. Until then it'll will</i><br>
|
|
<i>> > have to wait until I feel like reverse engineer the protocol. So far I</i><br>
|
|
<i>> > haven't been able to find it in the documentation for SANE anywhere.</i><br>
|
|
<i>> </i><br>
|
|
<i>> ?? It is in the sane package that can be found on </i><br>
|
|
<i>> <a href="http://www.mostang.com/sane">http://www.mostang.com/sane</a>.</i><br>
|
|
<i>> </i><br>
|
|
<i>> I have checked V 0.72, and it has a subdirectory doc, that contains net.tex</i><br>
|
|
<i>> which describes the RPCs that make up the net protocol.</i><br>
|
|
<i>> </i><br>
|
|
<i>> For an actual implementation reference, see :</i><br>
|
|
<i>> </i><br>
|
|
<i>> sanei/sanei_codec_ascii.c</i><br>
|
|
<i>> sanei/sanei_codec_bin.c</i><br>
|
|
<i>> sanei/sanei_net.c</i><br>
|
|
<i>> sanei/sanei_wire.c</i><br>
|
|
<i>> backend/net.c</i><br>
|
|
<i>> frontend/saned.c</i><br>
|
|
<i>> </i><br>
|
|
<i>> This should provide you with quite enough reference and a bunch of convenience</i><br>
|
|
<i>> functions to access the sane net protocol.</i><br>
|
|
<i>> </i><br>
|
|
<i>> Actually what you need to do, is to rewrite backend/net.c in a way that</i><br>
|
|
<i>> it exports a TWAIN interface, or write a SANE->TWAIN bridge interface</i><br>
|
|
<i>> that is simply linked to net.c.</i><br>
|
|
<i>> </i><br>
|
|
<i>> CU,Andy</i><br>
|
|
<i>> </i><br>
|
|
<i>> -- </i><br>
|
|
<i>> = Andreas Beck | Email : <<a href="mailto:andreas.beck@ggi-project.org">andreas.beck@ggi-project.org</a>> =</i><br>
|
|
<i>> </i><br>
|
|
<i>> --</i><br>
|
|
<i>> Source code, list archive, and docs: <a href="http://www.mostang.com/sane/">http://www.mostang.com/sane/</a></i><br>
|
|
<i>> To unsubscribe: echo unsubscribe sane-devel | mail <a href="mailto:majordomo@mostang.com">majordomo@mostang.com</a></i><br>
|
|
<i>> </i><br>
|
|
I am afraid it won't e so easy. Windows don't have sockets, what they do<br>
|
|
have are of course winsockets. The functions are prototyped in winsock.h<br>
|
|
and they are similar to Unix/sockets in design but the functions semantics<br>
|
|
are not identical.<br>
|
|
<p>
|
|
So some Unix networking code may be usefull for somebody to see the flow<br>
|
|
but he has to port/translate anyway the Unix/sockets calls to Win32/winsock<br>
|
|
calls.<br>
|
|
Milon<br>
|
|
<p>
|
|
<p>
|
|
<pre>
|
|
--
|
|
Source code, list archive, and docs: <a href="http://www.mostang.com/sane/">http://www.mostang.com/sane/</a>
|
|
To unsubscribe: echo unsubscribe sane-devel | mail <a href="mailto:majordomo@mostang.com">majordomo@mostang.com</a>
|
|
</pre>
|
|
<!-- body="end" -->
|
|
<p>
|
|
<ul>
|
|
<!-- next="start" -->
|
|
<li> <b>Next message:</b> <a href="0242.html">Fredrick P. Eisele Sr.: "Reverse Engineering"</a>
|
|
<li> <b>Previous message:</b> <a href="0240.html">Bob van der Poel: "configure problem solved"</a>
|
|
<li> <b>In reply to:</b> <a href="0231.html">becka@rz.uni-duesseldorf.de: "Re: NT frontend"</a>
|
|
<!-- nextthread="start" -->
|
|
<!-- reply="end" -->
|
|
</ul>
|