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

Disconnecting a session without exiting the app

Iam using Multipeer connectivity Feature. Consider A,B,C are connected in a session created by A.Suppose B want to get out of the session without disconnecting the session ( [session Disconnect] ) or exiting the app .Is that possible?. Does turning…
DHEERAJ
  • 1,478
  • 12
  • 32
0
votes
1 answer

Android Wear - Path w/ Feature

My question is simple, what does private static final String PATH_WITH_FEATURE = "/watch_face_config/Digital"; do / point to? Is this supposed to be a folder on the machine? In the app? I think this is why my app is crashing. I'm not getting any IDE…
0
votes
1 answer

Block Internet for Apps without Disconnecting from WiFi in Android

I'm trying to block Internet access in android without disconnecting from WiFi Network. I need a trick except making dump VPN! I'm trying to change wifi configurations but it's not working.... Is there any trick to block internet data without…
Jessica
  • 685
  • 1
  • 9
  • 23
0
votes
1 answer

php script stops executing and shows no errors

I have a php script that scrapes the web and inserts the scraped data into a database. This php script runs for a very long time(about a couple of hours). Sometimes, after the script runs for a long time, the php script just stops executing and…
yuval
  • 2,848
  • 4
  • 31
  • 51
0
votes
4 answers

How to detect client side internet disconnection using Node.js

I am using node.js for game server . Here is my server script var net = require('net'); var http = require('http'); var host = '192.168.1.77'; var portNum = 12345;// function policy() { var xml = '\n
Liju Thomas
  • 33
  • 1
  • 11
0
votes
1 answer

My Personal Communication iSeries Access for Windows gets disconnected

Whenever I call a specific RPG program my Personal Communication client gets disconnected. It was working fine last day but today it has strange behavior rest of the AS400 system is working fine. What could be the reason? Thanks
0
votes
0 answers

Indy FTP Client OnStatus not getting Disconnect events

I have setup an Indy IdFTP Client to a FileZilla FTP Server.The client tries to Connect on startup of my app and, If it fails, keeps retrying every few seconds for the lifetime of the app. In addition, I need to detect if I lose the connection and,…
0
votes
1 answer

How do I handle disconnected user in meteor / iron:router

Iron Router has this awesome method onStop which lets me write code for when a user navigates away from a page. How can write that same code when someone disconnects, like closing the browser, for instance. Thanks
azium
  • 20,056
  • 7
  • 57
  • 79
0
votes
1 answer

Android - Bluetooth Writing Event

I'v made a Ble(Bluetooth 4.0 LE) App. This App send byte data to BT device. I had test when I made this function, but as soon as send(write) device was disconnected. why disconnect? Especially, LG SMART Phone. Plz Help me.. ////////////// public…
hello
  • 97
  • 2
  • 7
0
votes
1 answer

Windws C++ Intermittent Socket Disconnect

I've got a server that uses a two thread system to manage between 100 and 200 concurrent connections. It uses TCP sockets, as packet delivery guarantee is important (it's a communication system where missed remote API calls could FUBAR a…
0
votes
1 answer

Kryonet client disconnects after send a packet to server (java)

I'm doing a little MMO project and right now I'm working on the login/register system. Whenever I try to send a ClientLoginPacket, the client disconnects from the server and the packet is not received at all by the server. There is no stack trace…
vedi0boy
  • 1,030
  • 4
  • 11
  • 32
0
votes
1 answer

lNet (FreePascal/Lazarus): Disconnect after SendMessage

i've a problem. I am using a TLTCPComponent named "Client". The code looks like: procedure TForm1.Create(Sender: TObject); begin Client.Connect(ServerIP, Port); //ServerIP and Port are given... Client.SendMessage('SomeText'); end; The server…
S-Man
  • 22,521
  • 7
  • 40
  • 63
0
votes
1 answer

A strange disconnect with Rails and MySQL

The Rails 4 app had been working for 5 months flawlessly, but some minutes ago it started to encounter an error: ActiveRecord::ConnectionTimeoutError (could not obtain a database connection within 5.000 seconds (waited 5.000 seconds)) The DBMS is a…
Paul
  • 25,812
  • 38
  • 124
  • 247
0
votes
4 answers

php - disconnecting and connecting to multiple databases

I want to be able to switch from the current db to multiple dbs though a loop: $query = mysql_query("SELECT * FROM `linkedin` ORDER BY id", $CON ) or die( mysql_error() ); if( mysql_num_rows( $query ) != 0 ) { $last_update = time() / 60; …
Phil Jackson
  • 10,238
  • 23
  • 96
  • 130
0
votes
2 answers

Peripheral connection state goes to IDLE when switching tabs, but remains in first tab

So far I am able to connect to the peripheral fine and can send commands to it, but when I select a new tab the connection state goes to IDLE and I can't send anything from the next tab, but I can go back to the first tab and can send the commands…