Using Silverlight for efficient low level communications (UDP socket usage and port restrictions)

by APIJunkie 6/23/2008 10:04:00 PM

For all of you guys that were hoping to use Silverlight for advanced low-level communications note the following excerpt

from the MSDN website about Working with sockets in Silverlight 2  beta 2:

"Currently, the only supported ProtocolType on Silverlight 2 is the TCP protocol.

One restriction on using sockets in Silverlight 2 is that the port range that a network application is allowed to connect to must be within the range of 4502-4534. These are the only ports allowed for connection using sockets from Silverlight 2 applications. If a connection is to a port is not within this port range, the connection attempt will fail."

This means that any UDP communication is banned and port number access is highly limited.

I for one hope this is only a temporary thing that would change in the final version 2 release.

The reason be is that there is a whole range of communication applications ranging from networking tools to multiplayer games that will never be implemented in Silverlight.

If Silverlight is to take its place as a true robust platform for RIA applications it should at the very least allow UDP access and a very wide range of port access.

Security concerns are important they should be addressed and dealt with but they should not cause this promising platform to become crippled.

JB

 

Currently rated 4.5 by 4 people

  • Currently 4.5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Silverlight | Communications

Powered by BlogEngine.NET 1.2.0.0
Theme by Mads Kristensen

About the author

Name of author

My name is Bacon…James Bacon.

I am an API wars veteran I was wounded by x86 assembly, recovered and moved on to C. I am currently stuck in C++ and sniffing .NET.

I am mainly here to ramble about coding, various API’s, Junkies(me especially) and everything else that happens between coders and their significant other.

E-mail me Send mail


Calendar

<<  September 2008  >>
MoTuWeThFrSaSu
25262728293031
1234567
891011121314
15161718192021
22232425262728
293012345

View posts in large calendar

Pages

    Recent comments

    Authors

    Disclaimer

    The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

    © Copyright 2008

    Sign in