Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disconnection halts apps #3

Open
f-rank opened this issue May 29, 2015 · 7 comments
Open

Disconnection halts apps #3

f-rank opened this issue May 29, 2015 · 7 comments

Comments

@f-rank
Copy link

f-rank commented May 29, 2015

Hi, I have one server and one client talking to each other and trading data, whenever I close one app it boink halts and the other does the same. (these are two Windows apps)
Is there a recommended clean way to exit ?
Does it happen because one is sending/receiving and suddenly it halts because of non completion.
Can I listen for some event so this doesn't happen ?

Thank you
Frank

@Ohmnivore
Copy link

same issue here

@Ohmnivore
Copy link

(happens on timeout)

@f-rank
Copy link
Author

f-rank commented Jun 10, 2015

Hi Ohmnivore.
The provided server/slient example works ok because there is nothing else going on.
So I used it in an app that displays scoreboard infor and communicates with the input app through Anette. I tried to halt sending and receiving before disconnecting so that it didn't push data while disconnecting. But still no luck. I don't know if the dev is around but if you happen to come across a fix for this, please do share.

@Ohmnivore
Copy link

hehe i'll be debugging this for a few hours today, i'll report back soon

@Dvergar
Copy link
Owner

Dvergar commented Jun 11, 2015

Sorry, I've been busy, will investigate it today!

@Dvergar
Copy link
Owner

Dvergar commented Jun 11, 2015

Ok it gets stuck in the buffer loop server-side when there's a disconnection, will try to fix it soon.

@f-rank
Copy link
Author

f-rank commented Jun 13, 2015

Thanks for looking at the problem folks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants