Silverlight TV 70: Sockets Unplugged
- Posted: Apr 28, 2011 at 9:00 AM
- 38,622 Views
- 11 Comments
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Right click “Save as…”
Ever wonder how to use sockets or what they're good for? In this video, Peter Smith of the Silverlight networking team joins John to discuss these topics and demonstrate how sockets work by using them to play an "I Spy"-like game that Peter created. The game results and scores are updated instantly on two client PCs, and after Peter and John play, Peter jumps into the code and shows how the socket service works on both the client and the server.
Relevant links:
Follow us on Twitter @SilverlightTV or on the web at http://silverlight.tv
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
Oops, something didn't work.
What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in. You need to be signed in to Channel 9 to use this feature.What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in and view them all on your notifications page.sign up for email notifications?
Cool. Is this how it'll work on WP7?
Excellent show.
Same question, is the entire SL4 sockets stack being moved to Mango?
AS far as Windows Phone goes -- the current 7.0 phone doesn't include sockets, so this won't work on the current phone. I've seen the same Mix meeting as anyone else about the "mango" socket support, but I haven't yet tried to move the game over to the Phone.
It would certainly involve some rework -- in particular, the screen layout would need some radical changes, and I've have to make sure that the touch stuff was handled well.
Peter, but do you know if the same socket structure from SL4 has been ported to Mango?
Secondly, what you showed, was it based on SL4 or SL5?
Thanks!
Keep in mind that I haven't seen the API yet --- but one of the overriding goals of .NET is to not splinter the API. That means that Silverlight browser .NET sockets have the same API as desktop .NET sockets (except for the synchronous stuff).
What I showed is the regular shipping Silverligt. What's running right now in my browser is a version 4. Sockets have been part of Silverlight for a while now.
@Peter Smith: Thanks Pete! You & John had great points;
Hope to see you again when Mango is released. I'm very interested in sockets on WP7/Mobile as a portable device to share live info.
Nice demo, keep up the good work!
Would it be possible to share the code?
Thanks
Angelo
Yes, the source code's in a zip file in the System.Net blog -- just follow the links.
Must remember to read carefully!! :)
Thanks for your time.
Angelo
Dang, the code is so blurry it looks Sanskrit circa 1967 San Francisco.
Very informative show. Thank you.
Remove this comment
Remove this thread
close