On Windows use [MemoryModule](https://github.com/fancycode/MemoryModule), on Linux just dlopen the file or socket. `argv[0]` should be the symbol name to load and call. Then call the symbol with: symbol(socket_handle, argc, argv);