sockets - starting an Android Service on TCP connection attempt -
sockets - starting an Android Service on TCP connection attempt -
android can kill process @ time, possible alter likelihood process killed doing things such making foreground. seems me servers sit down on tcp port waiting connection problematic, although see apps this. there mechanism these servers utilize create sure available reply requests? periodic intents start process drain battery powerfulness quick. starting sticky bit isn't foolproof in making sure service gets restarted after beingness killed, , neither foregrounding. leaves me thinking perhaps there might way request intent when particular tcp port receives syn request on. service have started , somehow open port before ack returned or else initial connection effort fail , have retried.
is there going on or available?
android sockets tcp server
Comments
Post a Comment