Skip to content

armanr/QtWebsocket

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QtWebsocket

A Qt Websocket server and client implementation.
The client has been recently added in the project and is still a beta implementation.

Informations

Supported clients

  • Google Chrome 16+
  • Mozilla Firefox 9+
  • Safari 5.1+
  • Opera 12.50+

Installation

You have two possibilities described below.
Don't hesitate to look at the examples.

Modular and clean method - Static lib

  • Open the main project with QtCreator (QtWebsocket.pro) or Visual Studio (QtWebsocket.sln).
  • Compile the project, this will result in a static lib (*.lib or *.a file).
  • Add the header files (.h) from the QtWebsocket directory in your project.
  • Link the generated static lib to your project.
  • Compile your project !

Easy and hard method - Add the sources to your project

  • Copy the QtWebsocket directory in your project.
  • Add the header and cpp files in your project.
  • Compile your project !

Documentation

No doc for the moment, the best way is to look at the examples.
I created it to show how you can use properly the lib.

Development

Implemented functionnalities

  • Opening handshake
  • Frames (send and receive)
  • Mask sent frames, receive masked frames
  • Control frames (close, ping, pong)
  • Multi-frames (send and receive)
  • Multi-thread support
  • Client implementation (beta)

Todo

  • Websocket extensions
  • WSS protocol (SSL)

Thanks for your interest.

About

A Qt websocket server / client implementation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published