Hello,
I added a function to the library called:
SCardSetTimeout( SCARDCONTEXT hContext, DWORD dwTimeout );
This function sets the RPC timeout value. I noticed I needed a bit more
time with the Siemens SieCrypt card - almost 40 seconds to read 30 bytes !
Calling this function before a transmit will keep RPC from timing out.
It will be included in the next release.
Also, does anyone know of a good way in RPC at the server to determine
whether the client is still alive or not. I have a function called
SCardCollectZombies on the server side that looks through all the open
contexts periodically but I would like to Disconnect all readers that have
a dead client.
Let me know if you have any suggestions.
Best Regards,
Dave
David Corcoran Purdue University
1008 Cherry Lane MUSCLE Smartcard Developers
West Lafayette, IN 47906 http://www.linuxnet.com
765-463-0096 317-514-4797
If you can't make it work - at least make it look good. ~ Bill Gates, M$
***************************************************************
Linux Smart Card Developers - M.U.S.C.L.E.
(Movement for the Use of Smart Cards in a Linux Environment)
http://www.linuxnet.com/smartcard/index.html
***************************************************************