Questions tagged [disconnect]

A break or interruption in an existing connection, continuum, or process.

A break or interruption in an existing connection, continuum, or process. This can include:

  • Ending a connection to a server
  • Ending a connection to internet
  • Terminating operating system services
  • Removing event handlers from an object
403 questions
0
votes
2 answers

Web socket exception could not be caught

When I intentionally shut down a web sockets server the client JavaScript code: try { self.socket.send('ping'); } catch(ex) { console.log('exception'); } writes in Chrome console: WebSocket is already in CLOSING or CLOSED state. This…
Paul
  • 25,812
  • 38
  • 124
  • 247
0
votes
1 answer

close Excel from PowerBuilder

Working with PowerBuilder, I'm using an OLE object to make some changes in an Excel document, but when I disconnect the object, the Task Manager shown that it's still running. Also, if I open another Excel document, I can then open the Excel…
0
votes
1 answer

Socket.io disconnect error

I'm using socket.io-obj library from https://github.com/pkyeck/socket.IO-objc based on iOS7, but i found when the socket disconnect the server caused by the bad network environment, my application would be hang for a long time. Here is my…
Qijin
  • 307
  • 2
  • 13
0
votes
0 answers

TCP/IP: connecting immediately after disconnecting

I’m working on a client and server protocols over TCP/IP. It is completely asynchronous – that is it uses TcpClient’s methods ConnectAsync/Close/ReadAsync/WriteAsync to connect/disconnect/read/write respectively. My GUI has the Connect and…
alexk
  • 143
  • 1
  • 11
0
votes
1 answer

Detect client has disconnected from jetty server (using continuations)

I am using jetty continuations and I was wondering if I can detect that the client has disconnected(closed connection to jetty server) from the server. Thanks, Alfred
Alfred
  • 60,935
  • 33
  • 147
  • 186
0
votes
1 answer

Android application freezes when disconnecting with bluetooth device

I have an android application that connects with a Bluetooth device receives some bytes and disconnect with the device once all the data is received . The application runs well on more advanced phones like the galaxy s3 and galaxy note 2 but when…
0
votes
1 answer

How to make sure the Broadcast Receiver is disconnected

I wrote a simple Broadcast Receiver which catches incoming calls and starts activity with the caller's number: package com.example.nrsearch; import android.content.BroadcastReceiver; import android.content.Context; import…
0
votes
3 answers

Detecting TCP drop out?

Currently the way I detect if a client has crashed is if an exception occurs when listening for communications. I assume this is because if the client crashes then the OS will close the socket. Will an exception still fire if if the client's…
user3313539
  • 103
  • 1
  • 2
  • 5
0
votes
0 answers

Is SignalR Good option for Fixed interval Data Push Scenario for Larger Datasets?

I have created an SignalR application (IIS Hosted) sending data to set of SignalR groups. noticed that clients stopped responding after some reconnects(100-150). Where as Server state is healthy, and unaware of Disconnected clients. This made me ask…
0
votes
1 answer

Android how to disconnect URLConnection

I know how to disconnect a HTTPURLConnection with .disconnect() method. But how about URLConnection object? Myy app downloads a file with direct link from server via URLConnection.getInputStream. Download progress has a Stop button. I want to stop…
themaster33
  • 91
  • 1
  • 8
0
votes
0 answers

Visual C++ method for closing webbrowser

I'm looking for a method that disconnects and CLOSES the webbrowser window. The code: webBrowser1->Stop(); doesn't work. It just seems to block an ongoing navigation. I'm using Visual C++ 2008 Express Edition.
Uwe_98
  • 697
  • 1
  • 8
  • 21
0
votes
1 answer

c prog of tcp/ip client server .in server counts how many clients visited to the server.it works for multiple clients at same time

I already tried the server prog but server can't distinguish between the clients please help me. A client server program in which server counts the no of client's visited to the server. Server handles the multiple client at same time.
0
votes
1 answer

24h disconnect of ISP pauses download forever

My ISP forces a disconnect on my connection once a day. If that occurs during a download, the download just pauses forvever, without throwing an exception whatsoever. Right now I could only think of threading the download, then checking for a…
Wurstbro
  • 974
  • 1
  • 9
  • 21
0
votes
1 answer

Netty: channel.write hangs on disconnect

I have the following situation: A new channel connection is opened in this way: ClientBootstrap bootstrap = new ClientBootstrap( new OioClientSocketChannelFactory(Executors.newCachedThreadPool())); icapClientChannelPipeline =…
unwichtich
  • 13,712
  • 4
  • 53
  • 66
0
votes
1 answer

Firebase network connection loss onDisconnect handler trouble

I'm having an issue with trying to handle network connection loss reconnects in Firebase. When the connection gets reestablished it works like it should and writes the user data back to firebase again, but then it removes it again immediately. From…
Spencer Fraise
  • 138
  • 2
  • 11