Commit Graph

5 Commits

Author SHA1 Message Date
fpagliughi 1bb2e691e1 - Removed unnecessary _WIN64 conditional checks
- Fixed some conditional compilation using (WIN32) to (_WIN32)
2025-01-09 16:09:38 -05:00
Ian Craggs 1e91229cb6 Update license from EPL v1 to v2 2020-04-06 13:27:50 +01:00
fpagliughi fbd38b16cf
#368 Add underscores to Windows compiler macro checks, _WIN32 and _WIN64
Signed-off-by: fpagliughi <fpagliughi@mindspring.com>
2020-01-25 10:38:18 -05:00
Ian Craggs 8da23615bd Make windows header file names lower case 2020-01-11 17:37:54 +00:00
Keith Holman 086111f1dd WebSocket: initial websocket support + utilities
closes: #166

This patch provides an initial implementation for websocket support for
paho. For the websocket specification see RFC 6455.  The purpose of this
patch is to allow connnecting to an MQTT broker listening on a websocket
port (typically 80 [HTTP] or 443 [HTTPS]) to be able to communicate with
a client using the paho library.  Using websockets to communicate increases
the packet overhead both sending and receiving as well as additional setup
and ping packets.  However, using websockets allows for communications on
standard HTTP/HTTPS ports which are generally already configured by
firewalls to allow outside communications.

To use websockets, prefix the connection URI with either: "ws://" or
"wss://" for either websockets or secure websockets, repectfully.

Signed-off-by: Keith Holman <keith.holman@windriver.com>
2018-05-02 16:59:25 -04:00