Skip to content
This repository has been archived by the owner on Oct 25, 2021. It is now read-only.
/ QtWebsocket Public archive

A Qt websocket server / client implementation which supports SSL / TLS communications.

Notifications You must be signed in to change notification settings

antlafarge/QtWebsocket

Repository files navigation

QtWebsocket

A Qt Websocket server and client implementation.
The project is now deprecated because Qt provides an implementation of the websocket client and server protocol.
More informations here: http:https://doc.qt.io/qt-5/qtwebsockets-index.html

Licence

Copyright 2013 Antoine Lafarge

This file is part of QtWebsocket.

QtWebsocket is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.

QtWebsocket is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with QtWebsocket. If not, see http:https://www.gnu.org/licenses/.

Compatibility

  • Google Chrome 16
  • Mozilla Firefox 9
  • Safari 5.1
  • Opera 12.5

Installation

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

Clean modular 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 dirty 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, you can look at the examples.

Development

Implemented functionalities

  • Text and binary data
  • Multi-thread support
  • Server and client implementation
  • WSS protocol (HTTPS/SSL/TLS)

Todo

  • Websocket extensions

About

A Qt websocket server / client implementation which supports SSL / TLS communications.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published