Socket Runtime

How do you use the socket runtime in a standalone?]
i tried copying .py’s didnt work

I think you can use external modules in a runtime, if they are packaged in the same folder as the runtime.
I haven’t tried it though. Many things are not available in runtime.
It’s quite anoying.