IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

QML WebSocket Server

A simple example that shows how to use a QML WebSocketServer.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

QML WebSocket Server

QML WebSocket Server GUI

This example opens a window and has a WebSocketServer listening for incoming connections and a WebSocket connecting to the WebSocketServer. Every time the window is clicked, the WebSocket sends a message to the WebSocketServer. The WebSocketServer has a signal handler that logs the incoming message to the window and sends a message back again, and the WebSocket has a signal handler that logs the returned message to the window.

Example project

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+