Re: Win32 TWAIN DLL to interface with SANE

Brian Macy (bmacy@sunshinecomputing.com)
Thu, 14 May 1998 06:44:15 -0700

Thank you.... now I think I understand. SANE doesn't use "Remote Procedure
Calls", saned listens for packets on a socket and processes them... its just
a socketed IPC. Ok, is the packet format(s) documented somewhere?

I don't want to have to port a huge portion of SANE just to get the network
stuff working. If I have to do a partial port, does anyone know which pieces
I would need to do network communication only. I certainly wouldn't be
porting any of the scanners, just the network stuff.

saned.c
sanei_wire.c
sanei_net.c
and probably several other files that are needed by these.

Again, I'd rather just do what I need from scratch. A C++ lib that handles
SANE networking only support would be far more useful for me than anything
else.

Brian Macy

> Andy> saned and the net dll are _examples_ and the "native" protocol
> Andy> of how to route SANE data through a network.
>
>The SANE network protocol can be implemented on anything that supports
>TCP. It's as simple as that. Indeed, most if not all of the
>sanei_net and sanei_codec code is plain ANSI C and in no way platform
>specific.
>
> --david
>
>--
>Source code, list archive, and docs: http://www.mostang.com/sane/
>To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
>

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com