[jcifs] jTDS + jCIFS works!

Michael B Allen mba2000 at ioplex.com
Tue Jul 20 04:59:43 GMT 2004


On Mon, 19 Jul 2004 23:23:35 -0500
ddkilzer at kilzer.net (David D. Kilzer) wrote:

> After further review, no changes were needed to jCIFS to make jTDS
> connect via named pipes.
> 
> I do have one more question about named pipes, though.  Is there a way
> to set a connection timeout for them using the current API, or does it
> not make any sense to do that?

Even though Java's IO model doesn't really support the concept of a
timeout on a read, if the behavior of TDS is observed to use transaction
timeouts that might be necessary to properly emulate the protocol. We
don't currently support transaction timeouts because there is no
generic interface for transactions but we might be able to expose it
in TransactNamedPipeInputStream or somewhere else. If you have a packet
capture that shows timeouts being used in some fashion and for practical
purposes think it's better to emulate that behavior then I'll look at
the issue closer.

Mike

-- 
Greedo shoots first? Not in my Star Wars.


More information about the jcifs mailing list