News for hackers. Stuff that matters.
Re:When SVG almost got network support for raw sockets by grishka on Friday March 31, 2023 @02:09AM (#35383261)
Flash did have raw TCP sockets support. It did have some security built in though. When you opened a socket, the flash player itself would first connect to the address and port you specified, send the string `<policy-file-request/>` and expect the server to respond with the contents of the crossdomain.xml file (the same kind used for HTTP requests from flash) allowing the app to connect. It would then close the connection, and, if it's satisfied with the cross-domain policy, reconnect again and hand this socket over to the app.

There are no comments on this comment yet.