Coder Social home page Coder Social logo

franksun0634 / qtwebsocket Goto Github PK

View Code? Open in Web Editor NEW

This project forked from antlafarge/qtwebsocket

0.0 1.0 0.0 866 KB

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

QMake 4.36% C++ 89.02% Shell 0.25% HTML 6.37%

qtwebsocket's Introduction

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://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://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

qtwebsocket's People

Contributors

andre-hartmann avatar antlafarge avatar hronom avatar iv avatar kaharlichenko avatar me21 avatar rmilecki avatar steelbytes avatar vivekgalatage avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.