Having websockets into DM would be a nice thing for real time UI updating as it would be way less overhead to send some data over a websocket than to either inject a script in the page to send the data(calling browse("output=browser:script") does that) or to create a whole new browser to do so.Notes that websockets transmit in either UTF-8 or in direct binary data,the later which probably should be disallowed in BYOND since BYOND doesnt exactly have what it needs to be able to manipulate binary data without one revolting against society as a whole
Would suggest a syntax like this:
for receiving data
for sending the string "computer_dog" on the socket
for opening a socket on port 1234
|
Websockets specifically are only necessary if you want to communicate with JS running in a browser. In any other environment you can just use regular sockets.