No Sockets for Windows Phone 7

Update: Socket support was added in Windows Phone 7.5

So this weekend I was looking into some Windows Phone 7 development, with the intention of getting started on a WP7 port of Pocket IRC.  It was all progressing along handily until, much to my dismay, I discovered that the initial release of WP7 will not provide application level support for sockets.  I’ve seen other more authoritative links on the subject, but can’t find them at the moment.

The only networking capability provided is via the Windows Communication Foundation, a high level interface, which will provide only single request/response access to HTTP.

So that means no IRC, or any other protocol which doesn’t operate over HTTP.  I’m not sure how email will be implemented, but I imagine over HTTP gateways or simply through APIs not exposed to 3rd party applications.

WP7 also doesn’t have multitasking support, repeating the historical choice of the earlier iPhones.  This is also a bit of a shot to connection oriented protocols like IRC, where disconnecting and reconnecting has a noticeably detrimental impact on the user experience.

From the sound of various MS posts and comments, they do intend to add socket support eventually, but not in the first release.  For the sake of the platform I hope limitations like this will not kill it before MS  gets a chance to release all the features they want.

At this point it looks like my choices are, simply wait for a future revision of the Windows Phone platform, or waste time and effort implementing some hack temporary solution like an IRC client that operates over an HTTP gateway, which has it’s own problems, namely having to run an HTTP gateway.

Windows Phone 7 looks like it has potential, but I’m a bit worried about its chances against iPhone and Android if it’s coming out of the gate with such glaring limitations.

This entry was posted in IRC, Programming, Windows Mobile, Windows Phone 7 and tagged , , , , . Bookmark the permalink.

3 Responses to No Sockets for Windows Phone 7

  1. ryanb58 says:

    Great to know… i was about to ask the fourms about this.. 🙂

  2. planetarian says:

    Upon hearing this, my heart completely sank. Why the hell are Microsoft so intent on sabotaging their new mobile OS?

  3. Scott Wilkins says:

    Is multitasking REALLY needed? Seriously. Sure there are some tasks that would be nice to linger. But overall, it’s a headache. For both the programmer AND the user.

    Highly intellectual types such as us programmers love multitasking, sure. But the average user doesn’t love it by default. Even if they are taught what it is on this platform and how to use it. In a long strong day of activity, you just need the phone to do it’s job simply, straightfoward and without more than what’s needed. Multitasking muddies this functionality. Ultimately reducing the usability of the phone for basic must need functions. WP7 already has a great start of being quick and easy. Let’s not ruin it now.

Comments are closed.