Brandon
Brandon

Reputation: 14196

Can Silverlight 4 establish a TCP connection to localhost?

Please excuse the backwards architecture on this one and assume there's not a better way...

I have a Windows Service running on localhost, it listens on TCP port 5432 and broadcasts events to any connected sockets.

Is it possible for a Silverlight 4 in-browser app to connect to this service (thereby receiving these events)? Or are there security restrictions around Silverlight sockets preventing localhost access?

Upvotes: 2

Views: 626

Answers (1)

Yahia
Yahia

Reputation: 70369

Yes - that is possible though not easy because of security reasons... please see the following links:

Upvotes: 2

Related Questions