.NET Sockets in the Webplayer?

I read you can use plain .NET Sockets in Unity. Do they also work when the game is running the Browser/Webplayer?

In short, yes you can. There are some restrictions ( that shouldn’t affect most of what you’re doing ) due to the more open nature of web service accessing, so unity implements a socket policy server that is included in the install of Unity I believe. Check here for more in depth information from the Unity Docs:

http://unity3d.com/support/documentation/Manual/Security%20Sandbox.html