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
4
votes
1 answer

Client socket not receiving data correctly

I've tried looking about for an answer but I can't seem to find one that answers my specific problem. Perhaps I don't know how to articulate the problem correctly. I think I've pinpointed what it is, but the thing is I just don't know how to fix…
Micrified
  • 3,338
  • 4
  • 33
  • 59
4
votes
1 answer

PHP - kill exec on client disconnect

I have very primitive web front-end for my C++ application. Client (web browser) is enters php site and fills form with parameters. Than (after post submit) php calls exec and application does its work. Application can work longer than minute and…
user1126423
  • 125
  • 1
  • 5
3
votes
1 answer

disconnecting HttpClient

How can i disconnect an org.​apache.​http.​client.HttpClient object? I'm creating it like this but it doesn't have any disconnect() or getHttpConnectionManager! HttpClient httpclient = new DefaultHttpClient(); Thanks
Ariyan
  • 14,760
  • 31
  • 112
  • 175
3
votes
1 answer

extjs file uploading - how to handle disconnected from internet or network

We are using an extjs form to upload our files to fileserver ( we have an FileUploadHandler.ashx to handle the file on the bakcend side ) My question is, can extjs handle / throw an exception if accidentally during the upload process the user was…
leka
  • 111
  • 2
  • 4
  • 10
3
votes
3 answers

TcpClient disconnect during async read

I have a few questions about finishing a tcp connection. A client connects to my server using Tcp, after accepting the client with listener.BeginAcceptTcpClient(ConnectionEstabilishedCallback, null);, I start to read with…
TDaver
  • 7,164
  • 5
  • 47
  • 94
3
votes
2 answers

How does gmail browser client detect internet/server disconnect (speed and scalability)

We have an browser application (SaaS) where we would like to notify the user in the case of internet connection or server connection loss. Gmail does this very nicely, the moment I unplug the internet cable or disable network traffic it immediately…
ven
  • 55
  • 4
3
votes
0 answers

SocketIO client Swift library(Version 13) is not connecting socket for iOS

Got this error while configuring process for this library which I resolved by doing... private lazy var logType = "SocketIOClient{(nsp)}" Earlier It was... private lazy var logType = "SocketIOClient{\(nsp)}" Used below code to establish…
Prasanna
  • 945
  • 10
  • 24
3
votes
0 answers

When PostgreSQL stops TFDConnection.Connected remains True

I am connecting to PostgreSQL 9.5 x64 using Delphi 10 and FireDAC. There is a reconnect feature in my software which relies on TFDConnection.Connected flag: if not _conn.Connected then if _autoConnect then _conn.Connected := True else …
Paul
  • 25,812
  • 38
  • 124
  • 247
3
votes
3 answers

didDisconnectPeripheral not called iOS Swift 3

I'm trying to disconnect from a BLE device. I'm doing cancelPeripheralConnection() and its never calling didDisconnectPeripheral(). I'm setting notify value to one characteristic, so while disconnecting i'm setting it…
Hemanth
  • 133
  • 2
  • 12
3
votes
1 answer

Paho's MQTT client disconnects after the device locks

I'm currently working on a small "Panic Button" app supposed to operate in a medical facility. As one of the project's assumptions is to be Internet-independent, I've decided to go for MQTT with a server set up in the local WLAN. I've implemented…
ryfterek
  • 669
  • 6
  • 17
3
votes
0 answers

SignalR OnDisconnected() not fired instantly for CORS client page

I have a SignalR Chat application which is deployed on a server. The chatbox which users see should be renderd by the Chat Application in an iframe, on the targeted website. I have problems with: Task OnDisconnected(bool stopCalled) If the Chat…
Vlad
  • 536
  • 1
  • 5
  • 18
3
votes
1 answer

ffmpeg rtmp and local file output

I have a trouble with ffmpeg I receive a rtsp stream from a grabbing device (camera) and I stream-out it to rtmp (Youtube Live) I want to have a copy of the stream in my computer so I write at the same time in a local file I use this command…
3
votes
1 answer

Disconnecting Socket in ZeroMQ C#

I'm using the NuGet package of ZeroMQ for Visual Studio. The version I'm using is 3.0.0-rc1. I've been searching around for quite some time and still haven't been able to find an "elegant" solution to my issue. I am creating a server (ROUTER) socket…
3
votes
1 answer

node.js , socket.io - disconnect event delay when internet connection dies

I notice that socket.on('disconnect') fires immediately when I close browser tab. But it fires approximately in a minute after internet connection dies. I'm using socket.io module. How can I fix this issue?
Paramore
  • 1,313
  • 2
  • 19
  • 37
3
votes
1 answer

Disconnecting app in quickbooks v3 api

I am working on quickbooks v3 api integration. I have done all integrations but got stuck in Quickbooks Disconnect from app. I am using the following snippet of code for disconnecting from quickbooks final IAPlatformClient pClient = new…
Raghav
  • 552
  • 1
  • 9
  • 34