Asset - Extension Android Socket.IO Client

Native Socket.IO and Android

Implemention Socket.IO in game maker studio


Server socket test:

Socket funtion:

initSocket(String host): Init socket io with host

onListener(String type): Add listener from host, type listener data in async social(GMS)

connect(): Call connect to host

disconnect(): Disconnect to host

sendJsonArray(key, json): Send data json array to host, (json as String)

sendJsonObject(key, json): Send data json object to host, (json as String)

sendString(key, value): Send string to host

sendDouble(key, value): Send double to host