Questions tagged [disconnection]
42 questions
0
votes
0 answers
BLE CC2541 disconnect with the app after some time
I am working on CC2541 BLE controller. I am using SimpleBLEPeripheral from TI BLE stack which is available on TI's website. I have interfaced the controller with a sensor whose state changes at an interval of 3 seconds. This means that event is…
0
votes
0 answers
ASP.net Core - Handle Client Info Server-Side After Signalr Disconnect
I'm basically trying to do some database work if the user has been disconnected from signalR for more than 10 minutes. I put a timer in the Hub's OnDisconnectedAsync(). The issue I'm running into is ObjectDisposedException on things that I need to…

Snipe3000
- 321
- 3
- 15
0
votes
1 answer
Disconnect programmatically from firebase
How to programmatically disconnect the user?
Here is my problem: I know that the maximum of simultaneous connection is 100 with firebase but in my application, I'm retrieving all the data from the database and then I don't need it anymore so is it…

DreaMstoxics
- 27
- 4
0
votes
1 answer
How to handle disconnect clients that do not exit the browser/website? socketIO
I have a web game in NodeJS running socketIO. The code works but there is a glitch caused in the game due to players not disconnecting fully. What I mean by not fully being disconnected is - when a mobile player screen locks their phone, the server…

sirshakir
- 129
- 4
- 13
0
votes
1 answer
Python Asyncore executes handle_read when client disconnect
I was a socket TCP server in python using asyncore. My handle_read function is:
def handle_read(self):
data = self.recv(50)
'''interpretar os comandos:
operação: Ligar/Desligar Bomba, Ligar/Desligar Aquecedor, Alterar velocidade da…

FelipeFonsecabh
- 119
- 13
0
votes
1 answer
Network stream no longer works after connection loss
I'm working on an android app in xamarin which connects to a server. The server application follows processes etc based on the client connection. However if I say turn the device into airplane mode then turn airplane mode back off the connection…

Jessie Lulham
- 110
- 12
0
votes
1 answer
Android SIP - How disconnect from SIP Server
I'm using the code explained here (https://developer.android.com/guide/topics/connectivity/sip.html)
and my test SIP server is OfficeSIP
The connection is ok, but whe i try to make disconnection with this lines code
public void closeLocalProfile()…

Mimmo
- 113
- 1
- 16
0
votes
0 answers
Android : How can the server call the client back after a disconnection?
I have 3 devices android (1 server and 2 clients) connected via TCP.
Knowing that sometimes the server uses the open socket to contact the client, how can I manage the disconnections?
Indeed, in case of a short disconnection, only the client can…

Greelings
- 4,964
- 7
- 34
- 70
0
votes
0 answers
Making BLE Stop Disconnecting after 30 sec on MvvmCross
We are trying to use a BLE device on our system.
In the application side, we have MvvmCross (for now on Android) with the MvvmCross.Plugin.BLE.
On the slave side, we use a Dialog BLE chip.
After we connect, we are able to send and receive data for…

Yaron Adler
- 492
- 1
- 5
- 15
0
votes
1 answer
Site to Site Ipsec Openswan and Azure disconnecting every hour
I have some issue with my Openswan.
I'm using an openswan (ubuntu) on aws as hub vpn to connect my offices to azure.
Connections with offices works without issues.
Connection with Azure works but disconnect every hour, i have to restart ipsec…

user3633235
- 1
- 1
- 1
0
votes
1 answer
Handling socket disconnection. Boost / Winsock
As the title suggest, I've worked with both winsock & boost sockets. I'm having an incredible difficulty detecting for disconnections.
First, I know that a disconnection can be discovered by the following:
recv() / async_read() return a socket…

Andy Carter
- 201
- 3
- 12
0
votes
2 answers
Sending data to a client through a SocketChannel after he has closed his
I have a client and a server application where the client sends a byte of data that signals that the user has closed the client window and terminated the client program. The problem is that the server may send one last notification to that client…

Bat0u89
- 610
- 2
- 17
- 25