Asset - Extension Android Socket.IO Client

Native Socket.IO and Android

Implemention Socket.IO in game maker studio

Information: https://socket.io/blog/native-socket-io-and-android/

Server socket test: https://socket-io-chat.now.sh/

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
 
Top