A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Sockets and Internet Protocols
how do i cancel a connection right away
Lion Z. Li
Joined: Oct 31, 2003
Jan 15, 2004 23:56:00
Here I got a basic question. Suppose there is a connection being stuck while connecting in a thread, How do i cancel this connection immediately at will?
zhu Bao ding
Joined: Apr 29, 2003
Jan 16, 2004 01:32:00
first :you should stop the thread
second : close the input or output stream
I agree. Here's the link:
- it saves me about five hours per week
subject: how do i cancel a connection right away
Terminate long query in Hibernate?
Avoiding validation when hitting the Cancel button
the function cancle() on jsp does not return control back to actionc lass
Cancel JDBC Connection when Browser Cancel
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013