wasm

emcc client.c -s USE_SDL=2 -s USE_SDL_NET=2 -s USE_SDL_IMAGE=2 -s WASM=1 -o sdl2.html

 

client.c:
—————————–
#include “SDL.h”
#include “SDL_net.h”
#include <emscripten/emscripten.h>
int EMSCRIPTEN_KEEPALIVE linkToServer(int port)
{

}

发表评论