File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Sockets and Internet Protocols and the fly likes detect  browser states on  java socket Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Reply locked New topic
Author

detect browser states on java socket

varun kukreja
Greenhorn

Joined: Apr 17, 2013
Posts: 6
I have made a server program using java socket, in which user hits my url and in response I am sending continous
stream of data which is changing at user browser.
if user closes the browser or open a new tab then that stream of data should be stopped.
My concern is ,how to detect any event if user close their browser or change the tab.
Jeff Verdegan
Bartender

Joined: Jan 03, 2004
Posts: 6109
    
    6

Duplicate of http://www.coderanch.com/t/609760/sockets/java/Java-Socket-Programming.

Locking.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: detect browser states on java socket