goodm
goodm

Reputation: 7295

WebSocket connection. Android

How long is possible to keep connection by websocket ? I mean is if I got the app working in background how will look the consequences for internet download and battery life?

Upvotes: 0

Views: 496

Answers (1)

Yahor10
Yahor10

Reputation: 2132

Socket will be closed when close all your streams or server shuts down your connection,other wise its turns off when your app turns off.

Upvotes: 1

Related Questions