Write a short description
SocketIO Client Extension could be used to make a real-time chat/game app, to record online users amount or user name list, and more
V2 AVAILABLE AT http://www.kevinkun.cn/socketio.html
[Please pm me if you want the demo apk]
Add a picture of all the blocks
to connect to a server url, if successful, this will fire “Connected” event.
to disconnect from server manually. this will fire “Disconnected” event. And other user will get “OtherLogedout” event. If goes wrong when trying to connect, this event will also be fired.
to login to the server with a username, this will fire “Logedin” event, and other user will get “OtherLogedin” event.
to join a room, this will fire “JoinedRoom” event, and other user in this room will get “OtherJoinedRoom” event.
One user can join more than one room.
to leave a room. Other user in this room will get “OtherLeftRoom” event. If you are in some rooms and disconnected, other users in these rooms will also get this event.
send private message
to send a message to one single user, and the receiver will get “GotPrivateMessage” event
send public message
to send a message to public, all the user connected to server (not including the sender) will get “GotPublicMessage” event
send room message
to send a message to users in a room, all the user in the room (not including the sender) will get “GotRoomMessage” event
when you got some error
please check my website: http://www.kevinkun.cn/socketio.html for how to setup a backend server.