2007/9/21, Shawn Willden <[EMAIL PROTECTED]>: > Hi everyone, Hello,
> I have a situation where it would be convenient to have a card reader > connected to one machine, and the application using it running on another > machine. > > It occurred to me that if libpcsclite were to use a TCP socket rather than a > UNIX socket to connect to pcscd, this would be easy to accomplish. > > Has anyone tried this? Not yet. But that is on the TODO list [1] of pcsc-lite. > Is the over-the-socket protocol platform-dependent? Would there be any issues > with using a different platform on each end (OS/CPU)? You can have two problems: - sizeof(long) is not the same on 32 and 64-bits architectures and pcsc-lite uses a lot of long fields (should be fixed soon) - endianess is different on both sides > I'm going to give it a try in the morning, but I thought it might be worth > seeing if anyone in the community has any thoughts/warnings. I don't know if the best place for a remote connection is between pcscd and libpcsclite or between pcscd and the reader driver. If you can work on different prototypes we will see what works best. Bye [1] http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/TODO?op=file&rev=0&sc=0 -- Dr. Ludovic Rousseau _______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
