Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Silverlight server socket

I am developing a Silverlight app and I want to open server socket on it. But I can not bind socket to a specific end point. Is there a possibility to open socket listener in Silverlight application? Thanks in advance!

like image 451
leon4ic Avatar asked Jan 20 '26 17:01

leon4ic


1 Answers

Silverlight sockets are very restrictive. You cannot create server sockets and you can use the Socket class to connect to a server only through the ports 4502-4534. Also, the server must be configured to accept your connection.

MSDN resources:

  • Working with Sockets
  • Socket class
  • Network Security Access Restrictions in Silverlight
like image 123
alf Avatar answered Jan 23 '26 09:01

alf



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!