Windows 10 Mobile will be better at handling network activity for suspended apps

If you're a Windows Phone developer, there's a cool change coming in Windows 10 Mobile that will allow you to maintain better network connections when your app is suspended. As detailed by an admin on the WPDev Uservoice page, Windows 10 Mobile will allow an app to transfer its sockets to the OS when suspended. From the WPDev UserVoice:

"In Win10 we are introducing a new socket functionality that will allow an application to transfer its socket(s) to the OS when in background or terminated and have the OS brokering the sockets for the application."

Since apps can't run in the background on Windows Phones, this essentially means that end users should see less of a delay in receiving notifications from apps that take advantage of this new functionality.

If you're a Windows Phone developer, feel free to let us know what you think of this change in the comments below.

Source: WPDev UserVoice Thanks for the tip, Matt!

Dan Thorp-Lancaster is the former Editor-in-Chief of Windows Central. He began working with Windows Central, Android Central, and iMore as a news writer in 2014 and is obsessed with tech of all sorts. You can follow Dan on Twitter @DthorpL and Instagram @heyitsdtl

258 Comments
  • Good
  • Argh..finally. It was a breeze uploading pics back on WP7 but it became a pain on WP8.1 ..I hope this comes well
  • Html5 integration I want that back
  • Dan Thorp-Lancaster... Can you please give us some scenarios where the average user, or consumer, would be able to take advantage of this added functionality❔❔
    .....
    We got a lot of good questions here in the comment section...
    .......
    For example... Will we be able to get all notifications as they come in? Even every second?... We're not sure exactly what applies here, but it does sound interesting that after 5 years WP apps might actually behave like tha big boys...
  • Just like the battery apps instead of updating it self every 30mins, you get the notification and background update in real time
  • Nice way to drain battery.
  • That's up to the developer now isn't it? If you download an app and your battery life goes to crap, is it Microsofts fault for giving the developer the freedom people ask for, or is it the developers fault for writing a poor program?
  • Agree... Let us decide how our devices preform. MS could even add Battery Profiles with a conservative profile set at default.... Then power users could go into settings and choose a "Full Multitasking" profile that would free the OS up.
  • Real damn time.... Now, what a concept.. Wow.
  • Yeah or what about chat apps Skype, etc, you have an chat in Skype get simultaneously one message by WhatsApp, another message by line. Another by telegram but all then at same time and same seconds how will behave this feature, will collapse because all those processes together will start simultaneously at same time with no seconds of delay
  • I get notifications as fast as other OSes.  "Since apps can't run in the background on Windows Phones, this essentially means that end users should see less of a delay in receiving notifications from apps that take advantage of this new functionality." This doesn't make any sense either!! I think this might be awarded as the worst article of the year on WC :D
  • I don't know about you but I do get notifications late than other phones in my family. The delay is like for about 2-3 seconds.
  • Depending on the app, I have gotten notifications many minutes (up to 30) after the message was delivered. Now if we use real life logic, instead of anecdotal evidence from you or myself, the developer of the OS (in this case Microsoft) knows the limitations of the system and decided to change them, and the news outlet (Windows Central) is reporting on it. I think this might be awarded as the worst comment of the year on WC :D
  • It is not anecdotal evidence my freind, I'm a developer and I know how notifications work on windows phone. If you get notifications every up to 30 mins you should check your phone or the app is messing something up. Whatapp, facebook and other notifications are as fast as on other OSes. The article is reporting news and then spreading false information, it would be acceptable from some random guy in the comments section but not in the main article. This is completely wrong "Since apps can't run in the background on Windows Phones, this essentially means that end users should see less of a delay in receiving notifications from apps that take advantage of this new functionality." Many functionalities can be put in background tasks of the app, some of the can even run in realtime, the foreground part of the app is suspended, as it should be. Notifications are already perfectly supported in 8.1 too
  • When my phone is next to my tablet, I get a notification on the tablet about one second earlier, to be honest though, it isn't really an issue.
  • Now I'm confused... Lol.
  • Rodney, the above mentioned API only works over UDP. Tcp isn't supported. Which means in real life scenario, apps that stream video/audio would still be able to keep streaming even after the app is suspended. Right now, these apps do this via background task, but its just another way of doing it.
  • I see... I guess it's a more reliable way.
  • Hmm. But it isn't about reliability. As someone mentioned below, apps like teamviewer will be able to keep streaming the video even when the app is suspended, for user it would mean that your teamviewer connection isn't closed.
    This would be more useful where people stream things rather than background notifications.
  • Here's one make maybe they could makeup for the crappy experience bbm has on lumia devices. Since the announcement for suretap im ready to ditch my icon as my primary & go back to my cdn. Ativ s since I never had issues with it during closed beta & I like capacitive buttons
  • Can you stop saying one worded comments
  • Ok
  • Lol.
  • rofl
  • c:
  • Yoo...
  • In windows phone 8.1 you have IBackgroundTask-s for a reason, you can create background tasks of various types and they are subject to certain policies (enforced by the OS) depending on the type of task you are running. You also have a Notification Service provided by Windows itself to receive notifications. This article is bad, the comments are ignorant (as in someone that ignores, not an insult). Everything on this page is so wrong and misleading.
  • Sadly I've to agree with you. People here have no idea what they're talking about because the details are scarce. Some are relating transfer of sockets to higher frequency of notifications alert and some are assuming apps will have better background execution, like downloading (when minimized to task manager). And then there are those who thinks WP will finally have apps background support (when not running at all). Good lord it already has it! It's a mess over here.
  • Lol... We don't know.. Sorry.
  • @Paolo. I agree. I went through the article and then the comments, and was pulling my hair till I saw your comment. At least someone understands.
  • I thought something was wrong here.... That's exactly why I asked for clarification... SMDH.
  • Replied to you so everyone could see an explanation, it was not pointed at you  :)
  • And still no option to select default apps, I wanna cry.
  • ❔❔❔
  • May this be partly the reason why I or we don't get notifications on time or not at all sometimes ? On some apps indeed.
  • No, that's because those apps use the Windows Phone Notification Service which is very broken and can't be fixed without breaking compatibility with all the apps that use it. WP8.1-only apps can use the Windows Notification Service which was created for Windows 8 and made available in WP8.1. This one works very well, but apps that retain compatibility for WP8 (like Skype) can't use it.
  • Ok thanks. Explains why from all the messaging apps and other specific social network apps I own on my phone, only Messenger works as it should. On Windows they seem to work alright.
  • Well, they should really target 8 and 8.1 separately - that is possible, indeed pretty easy, but does require separate code bases.
  • Yeah thanks by tell us that on 920 the what apps notifications are and will be no on time because the OS just is not well developed, I am not against Windows phone but each thing like this sounds like no reasonable and rather not reason to be there
  • Err... What!
    If I understood this correctly, goodbye.
  • Does that also mean I can do downloads likes the maps in the background?
  • +1 for this
  • +2
  • And I thought we'll all die before this feature comes out for Windows mobile.
    2016 - background downloading is possible for all Lumia(almost). Anyways +3 if MS finally come up download manager
  • Yeah that would be good for all Windows phones, even if download an PDF for watch later
  • +1
  • Sort of. Exactly in what capacity these "sockets" will be allowed in has not been detailed exactly. Also expect to have limitations based on criteria like: size, type, battery level, connectivity level, type of network etc. It's aimed at getting closer to what they had in Windows Mobile but exactly how close is hard to say. They have to walk a fine line between battery performance and feature availability.
  • But Windows Mobile has a way better battery performance than any of this "modern" mobile OSes. It's hard to get 24 hours of usage even if you remove background activities from almost all Apps. And when you do need to continuously use your phone, it dies after 4 - 5 hours of usage. During pocket PC and Windows Mobile era, you can continuously use your phone more than 6 hours without needing to constantly be on the lookout for a power source.
  • That was really only when you used highly customized and highly tuned lightweight ROMs. Official roms did tend to be bloated, slow and shorter on battery life.
  • Maybe it's battery performance is better than some crappy androids and I phones before 6 but now it's the same (with everything working in background on android).
  • Would been better if they since Windows 7 would given the features that already had, plus metro, modern UI and also since that time Nokia was partner of msft and existed symbian also could added the notification bar as Symbian belle has or OTG support as the 808 has, if they did that before then Windows phone would be a strong 2,3rd is in mobiles phones.
  • I thought I was the only one... +1
  • it is funny that you mentiond maps as example, how many do you download? i only did it once once i got my phone? and once if i travel...
  • I update maps every now and then. N not exactly a daily thing though. I imagine if I lived in Europe though I'd be installing and deleting maps more frequently.
  • @Taymur. Almost every month. Keeps Data usage to minimum, especially if traveling or of country. I Travel to Canada from US and update Canada maps before leaving and then shut off data.
  • Well i donwload as many as i need :D I'll just finished downloading the map from all Germany a couple minutes before my initialy posting here, so that example was very present for me at that time! I had to download the map because i have reset my Lumia 920 in hopes that the preview Build from W10M would run more smoothly but id didnt. That the download of the map took over 30 minutes was very anoying becuase i have to keep the download screen alive to finish the download and normaly the near 1 GB download should only took about 3 minutes at max. Since i own my first Windows Phone device with here maps i donwloaded maps at least half a douzen times on every each of them. Since the devices come with 32 GB i should be able to hodl enaugh maps aviable on the device itself but i find myself more often in a position of the need for reseting or recovering the device as i would like.
  • Well i donwload as many as i need :D I'll just finished downloading the map from all Germany a couple minutues before my initialy posting here, so that example was very present for me at that time! I had to download the map because i have reset my Lumia 920 in hopes that the preview Build from W10M would run more smoothly but id didnt. That the download of the map took over 30 minutes was very anoying becuase i have to keep the download screen alive to finish the download and normaly the near 1 GB download should only took about 3 minutes at max. Since i own my first Windows Phone device with here maps i donwloaded maps at least half a douzen times on every each of them. Since the devices come with 32 GB i should be able to hold enough maps aviable on the device itself but i find myself more often in a position of the need for reseting or recovering the device as i would like.
  • Will we get background downloading as well ??
  • Yeah this is part of jt
  • Does that mean no more pending app in the store?
  • Does this mean I can download files through ie under lock screen now? Man do I need that!
  • Yes
  • Have you tried it? I've been downloading on IE under lockscreen. Mostly videos.
  • Yeah I have. Most recently, this morning. After few minutes of going under lock screen, the download pauses.
  • I haven't had any issues with it. Right now I'm downloading a 50 MB video just in case. Update: Downloaded with no problems.
  • How long did it take to download that 50nb video? What I have noticed is that it stops after a few minutes. Maybe it downloaded before that?
  • It takes probably less than 5 minutes. I didn't have much attention. Well, it depends on your internet speed I guess :) I've been downloading even bigger videos over 100 MB with no problems at all. Oh, and by the way, I'm on WP 8.1 Update 1. I've been on W10M (twice) but I haven't tested downloading under lockscreen. I downgraded (twice) after using it for a while.
  • Also I think I used to download under lock screen as well . I'm not sure :P but right now it just wont.
  • Don't internet connections (Wi-Fi and cell data) turn off after a bit when the device is locked?
  • Mine (L1320) never does that, it's always connected. While it doesn't have the option in Wi-Fi settings to uncheck it, my HTC 8S does have that option. Go to Wi-Fi then Manage and you should see "Keep WiFi on when screen times out". Check that and you are good to go.
  • But IE is dead on Windows 10 mobile.. Right?
  • Yep. IE was available on 10 in the first few builds but they removed it now in favour of Edge.
  • It's cool. But I've followed software enough to know that lazy developers be lazy and blame everything on platform when it is infact their own laziness making them not make enough effort to make their apps feature rich, polished and smooth/fluid/fast.
  • Agreed
  • If the platform makes it unnecessarily difficult, it is not developer laziness.
  • If the platform makes it unnecessarily difficult then the developer is justified in complaing about the difficulty they had in implementing it but not justified in not implementing it at all.
  • Sound logic
  • Ehm, amen!
  • Great... Thanks dude.
  • Finally ! :D Now I am waiting to "Upload in background" feature in most apps like WhatsApp and Facebook.
  • Will we finally see the end of "Resuming..." ?
  • I don't think so
  • Yes I hope no more resuming...
  • Just turn of the phone.. Wallah.. No more resuming!
  • Zzz
  • That would appreciate bye the resuming thing
  • Resuming is pretty much non-existent on W10M compared to WP8.1, although there's still time to improve.
  • Yes because it is now "Loading"
  • This is one main reason I'm not recommending Windows Phone to my friends! Apps are always either loading, resuming or crashing. Soft reset only solves the problem momentarily.
  • what, are you using 512MB device?
  • Even for 1gb ram devices, every fucking app resumes on my 730. Sometimes I feel ashamed to even use it
  • Thinking too much of what people think about you if they knew you used a WP Device?
  • In the 820 with skype occurs the resuming but sometimes crash the app
  • Just do a hard reset, it's gonna be fine after
  • I'm using 1020 which has 2 GB ram and I face this issue. :|
  • Technically the extra 1 Gb is only dedicated for your camera performance in 1020 so you have only 1 Gb available.
  • And more than the RAM, i find that quad core phones work better than the dual core ones..
  • This. My old Ativ S was resuming much more than my 735.
  • 1520 and I have the issue as well. Don't know what mobile are you using.
  • If he is using 512 mb device, it's not his fault.
    Remember what Microsoft was saying till recently, we have built a OS which will not need higher specs.
  • mmmm had some resuming on 920, never saw resuming on 930 so I guess it is all about phone performance. And if the coder puts tons of code @resume-time it is not an OS fault.
  • universal apps dont resume... try the apps that have an icon of a mobile and a tablet... those apps dont resume.
  • This won't address that, but at least for Universal apps, the issue should be.. less of an issue.
  • You people still don't get it, do ya? Resuming is nothing but reopening the app and taking you where you were, sometimes this function does not work Since most of the apps will be closed on suspend. That means no real multitasking. Very far from Symbian, so far from it, i can't understand how could my n8 multitask more then 12 apps in real time (no resuming, no crapload) with just 680 mhz cpu and 256 mb RAM and this 1020 can't multitask one. And what i've noticed is that is not even able to suspend more then 7 apps, when you open the 8th, even if is just another ie windows, it will close something from what was suspended. It is unbelieveble how can this new systems on the market even compare them selves with Symbian, they are not even close to it's league. A symbian device with this kind of spects i have in 1020 would be a rocket on steroids multitasking 100 apps with