Powered by MSDN

US - English
NEW! Silverlight 5 is available Learn More

When Silverlight Will Support UDP Socket RSS

1 reply

Last post Jul 09, 2008 06:37 PM by Nuno.Godinho

(0)
  • jerry_media

    jerry_media

    0 Points

    1 Post

    When Silverlight Will Support UDP Socket

    Jul 09, 2008 05:17 PM | LINK

     We are building a P2P application which requires UDP socket, which is currently not supported by Silverlight 2 Beta 2. As I know, other applications like multiplayer gaming also require this feature. Can anybody here tell me:

    1. Is there any perticular reason that stops Microsoft supporting UDP socket in Silverlight 2 Beta 2? Security reason?

    2. Will UDP socket be available in the next Silverlight release?

    3. Approximately when it will be the next release.

    We urge Silverlight team to include UDP socket in the next release. I know there is strong demand from the market about this which is one of the keys to differentiate Silverlight from Flash. This feature could enable huge number of applications and hundreds of millions of downloads for Silverlight client.

    Thank you in advance.

    Jerry

    silverlighlight UDP socket

  • Nuno.Godinho

    Nuno.Godinho

    Member

    264 Points

    42 Posts

    Re: When Silverlight Will Support UDP Socket

    Jul 09, 2008 06:37 PM | LINK

    Hi Jerry,

          Your correct, right now Silverlight 2 Beta 2 doesn't support by default the UDP, but if you're building a P2P application with Silverlight you should se the following project on codePlex, named Silverlight P2P Library.

         About your questions, The UDP is not there because of security reasons as well as the limitation of using TCP ports only from 4502 to 5432, but you can check here how you can work with Sockets in Silverlight 2 Beta 2.

         Also there's an interesting sample of using networking with Silverlight 2 Beta 2 here (http://blogs.microsoft.co.il/blogs/tamir/archive/2008/03/22/networking-raw-sockets-in-silverlight-and-wpf-messaging-in-general.aspx), and it has the source code to be downloaded.

     Hope it helps.

    Nuno Filipe Godinho [MVP ASP/ASP.NET]