Is there any way to start a webserver in a browser ?
I need to be able to accept connections from c# running on another computer, I really don't care what technology I use as long as I can trigger javascript events on the "server" browser.
You can't start "real" webserver in a browser (e.i there is no API and you are not allowed for security reasons to bind to and listen TCP port). However, if you connect to a HTTP server wich acts as a "bus" and forwards messages to you then you in essence have the same functionality. That's how browserver works.