Re: sane and java?

David Mosberger-Tang (davidm@azstarnet.com)
Wed, 12 Mar 1997 22:21:58 -0700

>>>>> On Wed, 12 Mar 1997 22:16:26 -0700, Jeremy Rosenberger <mustang@henge1.henge.com> said:

Jeremy> On Wed, 12 Mar 1997, Guido Muesch wrote:
>> Looking at the documentation I think it should be possible
>> connecting Sane from a Java application/applet by using the
>> network interface.

Jeremy> I haven't looked at the network interface stuff too much,
Jeremy> but if all that's required is a socket connection, this
Jeremy> would be quite feasible in Java.

Yes, it's one socket connection to the server to handle RPC requests
from the client. Image data is transferred through a separate socket
to make it easy to transfer data while other RPC requests are made
(whether such concurrent activity is allowed or not is completely up
to the client---if you want it simple, you can have it that way).

Indeed, since Java is multi-threaded, some problems should be easier
to deal with.

--david

--
Source code, list archive, and docs: http://www.azstarnet.com/~axplinux/sane/
To unsubscribe: mail -s unsubscribe sane-devel-request@listserv.azstarnet.com