WebSockets 简介

本文介绍了如何为PhoneGap Android平台增加WebSockets支持,使其成为socket.io的首选通道,并探讨了HTML5中WebSockets API的基本概念。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

------------------------------------------------------------------------------------------------------------------------------------------------- Installing sgcWebSockets in Rad Studio 7 - XE8 - 10.2 Tokyo ------------------------------------------------------------------------------------------------------------------------------------------------- 1) Unzip the files included into a directory {$DIR} 2) Add the directory where the files are unzipped {$DIR} to the Rad Studio library path under Tools, Environment options, Directories a) All Rad Studio Versions: Add the directory {$DIR}\source to the library path b) For specific Rad Studio version Rad Studio 7 : Add the directory {$DIR}\libD7 to the library path Rad Studio 2007 : Add the directory {$DIR}\libD2007 to the library path Rad Studio 2009 : Add the directory {$DIR}\libD2009 to the library path Rad Studio 2010 : Add the directory {$DIR}\libD2010 to the library path Rad Studio XE : Add the directory {$DIR}\libDXE to the library path Rad Studio XE2 : Add the directory {$DIR}\libDXE2\$(Platform) to the library path Rad Studio XE3 : Add the directory {$DIR}\libDXE3\$(Platform) to the library path Rad Studio XE4 : Add the directory {$DIR}\libDXE4\$(Platform) to the library path Rad Studio XE5 : Add the directory {$DIR}\libDXE5\$(Platform) to the library path Rad Studio XE6 : Add the directory {$DIR}\libDXE6\$(Platform) to the library path Rad Studio XE7 : Add the directory {$DIR}\libDXE7\$(Platform) to the library path Rad Studio XE8 : Add the directory {$DIR}\libDXE8\$(Platform) to the library path Rad Studio 10 : Add the directory {$DIR}\libD10\$(Platform) to the library path Rad Studio 10.1 : Add the directory {$DIR}\libD10_1\$(Platform) to the library path Rad Studio 10.2 : Add the directory {$DIR}\libD10_2\$(Platform) to the library path 3) Choose : File, Open and browse
负载平衡,MQTT协议支持,修正大量Bug,最新稳定版 Delphi7/XE6/XE7/XE8 ******************************************************* sgcWebSockets ******************************************************* [*] : Bug [+] : New [-] : Deleted [/] : Breaking changes Versions -------- 4.1.0: 2017 April [+] : Added support for Rad Studio 10.2 Tokyo. [+] : Added support for Linux compiler. [+] : MQTT client, added subscribe method. [+] : MQTT client, added unsubscribe method. [+] : MQTT client, added publish method. [+] : MQTT client, added Authentication property, allows to set user and password to authenticate against MQTT Server. [+] : MQTT client, added HeartBeat property, keeps alive connection. [+] : MQTT client, added LastWillTestament property, when client disconnects, sends a message to other connected clients. [+] : New Property "NotifyDeletes" in Dataset Server Protocol, if enabled (by default) broadcast deleted record to all clients. [+] : New Method "BroadcastRecord" in Dataset Server Protocol, sends dataset record values to all clients. [+] : New Method "MetaData" in Dataset Server Protocol, sends metadata info to a single client. [+] : New Method "Synchronize" in Dataset Server Protocol, sends dataset record values to a single client. [*] : Fixed Bug ReadTimeout and ConnectionTimeout in client component. [*] : Added Guid property to Client File Protocol. [*] : Fixed Bug Invalid Character when trying to access to built-in javascript libraries. [*] : Fixed Bug File Protocol when BufferSize was set to zero, file was not saved properly. [*] : Fixed Memory Leaks on NextGen compiler. [*] : Fixed WebRTC Chrome console errors.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值