Hey guys, I am currently developing an app, where I need a udp connection to a server. The code which communicates with the server is written in C, so I am using the ndk and I open a posix udp socket. I send every 30 seconds a message to the server to register and to keep the connection alive.
My problem is now that sometimes when the phone is in sleep mode (e.g. display is off) messages from the server are lost. I only have this problem in UMTS (3G, ..), not when I am connected via Wifi. My question is now, how does the android system react in sleep mode when a udp connection is open, especially when using native sockets. Will the connection be ignored? Or just closed sometimes? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en