this page has an example of html5 with webrtc scanning for your ip and others in your local network.
The site I got it from speak a lot about potential security issues here.
From the looks of it, it should be totally possible, just needs an implementation in construct 2 multiplayer features I supose.