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
2
votes
2 answers

GDB + CLion + STM32f4 + OpenOCD -> gdb error, truncated register 16 in remote 'g' packet

On my Windows10, having stm32f407vg discovery boards I'm doing example: f4-blog-master Then I got this error: D:\Software\OpenOCD-20170821\bin\openocd.exe -c "tcl_port disabled" -s D:\Software\OpenOCD-20170821\share\openocd\scripts -f…
yourstruly
  • 972
  • 1
  • 9
  • 17
2
votes
0 answers

Android BLE often disconnect (bluetooth 4.0)

I am having problems on BLE development. When testing on my own old cellphone which android API is 19, it's ok and nothing is wrong, but on the other cellphone which android API is 23 the BLE will disconnect after about 2 min and 30 sec and I don't…
2
votes
0 answers

iOS app disconnecting from BLE device even with characteristic changes

I have an iOS app that I connect to a custom BLE device. We are sending data constantly from the device by updating a characteristic that the iOS app has subscribed to. It is my understanding that as long as the characteristic is updating its value…
user856232
  • 1,073
  • 2
  • 14
  • 40
2
votes
4 answers

How do I disconnect a Scala Remote Actor?

In scala it is very easy to make a connection to a remote actor, but the documentation does not tell me anything about disconnecting. Simply throwing away the reference does not work, because remote actors are actors, so these won't be collected…
Arne
  • 7,921
  • 9
  • 48
  • 66
2
votes
2 answers

C# Socket doesn't disconnect properly

I'm working on a server for the game Minecraft, which shows a dark-red screen when the player is disconnected. I'm disconnecting players like this: Socket.Shutdown( SocketShutdown.Both ); Socket.Close(); I seem to be unable to write data after…
Overv
  • 8,433
  • 2
  • 40
  • 70
2
votes
1 answer

Lisp: Is there a callback that informs that a connection from open-socket has just dropped?

The Computer Algebra System Maxima uses (open-socket) in order to connect to its frontend (wxMaxima or xMaxima). Afterwards it makes sure that all output is actually passed to the frontend: (setq *standard-input* sock) (setq *standard-output*…
2
votes
4 answers

Disconnecting TCPClient and seeing that on the other side

i am trying to disconnect a client from a server but the server still sees it as being connected. I cant find a solution to this and Shutdown, Disconnect and Close all dont work. Some code for my disconnect from the client and checking on the…
Sean P
  • 949
  • 4
  • 22
  • 41
2
votes
1 answer

Creating a Bot for twitch chat. Getting a connection Error

I'm trying to make a bot for my twitch chat but i'm having some problems to connect to the chat with it. I read a bit about the library at: http://www.jibble.org/pircbot.php And tried to connect to my own chat but i'm getting an error. 1462989951913…
user3611818
  • 247
  • 2
  • 3
  • 13
2
votes
1 answer

Python: TCP broken route is painfully slow to detect

I have troubles with my server application written in Python3/asyncio(Protocol), but I am pretty sure it's not much python or asyncio related, because I've tried different version also some 5liner just with the socket interface. It's about…
Ilfirin
  • 23
  • 3
2
votes
1 answer

MORPG Server not catching disconnection

Ok, simple problem hopefully. I have started to make a simple server for a simple MORPG game im making, the client connected, and then disconnects, simple, the server catches the new client, but doesn't catch when it disconnects, whats wrong? Im…
user45535
2
votes
3 answers

Display message when TCPClient disconnects

I've been trying to get my server application to display a message in a label when my client has disconnected from it. Right now the label displays the connected client's IP address upon the client being started, but when the client is shut down,…
Patrick
  • 430
  • 6
  • 21
2
votes
0 answers

MySQL behaviour when client disconnects during a query

Assume that the client issues a long running query that mutates the database. During the query the TCP connection between the client and the server is closed or interrupted unexpectedly. I'd be curious what happens on the server side. Will MySQL…
aalmos
  • 161
  • 7
2
votes
1 answer

Socket attributes undefined on disconnect

I'm making a chatroom using socket.io, express, and nodejs. So far login, logout, and message events are working fine. However, accessing the 'userid' attribute of a disconnecting client is giving me an undefined error. I store a list of users on…
Zebbeni
  • 315
  • 2
  • 8
2
votes
1 answer

Android: detect if user hung up call or callee?

My android app makes outgoing call: Intent dial = new Intent(Intent.ACTION_CALL, Uri.parse("tel:12345678900)); startActivity(dial); After that user (caller) or callee can hang up. How can I detect who hung up caller or callee? I've…
2
votes
1 answer

Cancel connection is boost::asio

From the standard SSL client example. Say I call this function. boost::asio::async_connect(socket_.lowest_layer(), endpoint_iterator, boost::bind(&SSLClient::handle_connect, this, …
The Quantum Physicist
  • 24,987
  • 19
  • 103
  • 189