Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Sockets and Internet Protocols
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Liutauras Vilda
Ron McLeod
Sheriffs:
Jeanne Boyarsky
Devaka Cooray
Paul Clapham
Saloon Keepers:
Scott Selikoff
Tim Holloway
Piet Souris
Mikalai Zaikin
Frits Walraven
Bartenders:
Stephan van Hulst
Carey Brown
Forum:
Sockets and Internet Protocols
how do i cancel a connection right away
Lion Z. Li
Greenhorn
Posts: 19
posted 21 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi all,
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?
thanks
SCJP1.4
zhu Bao ding
Greenhorn
Posts: 2
posted 21 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
first :
you should
stop the thread
second : close the input or output stream
that's ok
The fastest and most reliable components of any system are those that are not there. Tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Updatation problem
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
Terminate long query in Hibernate?
More...