DELPHI盒子
!实时搜索: 盒子论坛 | 注册用户 | 修改信息 | 退出
检举帖 | 全文检索 | 关闭广告 | 捐赠
技术论坛
 用户名
 密  码
自动登陆(30天有效)
忘了密码
≡技术区≡
DELPHI技术
lazarus/fpc/Free Pascal
移动应用开发
Web应用开发
数据库专区
报表专区
网络通讯
开源项目
论坛精华贴
≡发布区≡
发布代码
发布控件
文档资料
经典工具
≡事务区≡
网站意见
盒子之家
招聘应聘
信息交换
论坛信息
最新加入: webb123
今日帖子: 1
在线用户: 5
导航: 论坛 -> DELPHI技术 斑竹:liumazi,sephil  
作者:
男 emailx45 (emailx45) ▲▲▲▲△ -
普通会员
2019/5/27 23:12:55
标题:
sgcWebSockets (Esegece) v4.2.5 RIO and old versions 浏览:5759
加入我的收藏
楼主: sgcWebSockets (Esegece)

more info Delphi WebSockets Components

Description

sgcWebSockets is a web technology that provides more than one TCP for two-way communication channels. The WebSocket Component API is standardized by the W3C, and the WebSocket protocol is standardized by the IETF as RFC 6455. WebSockets is designed to run on web and server browsers, but can be used by any server or server program. The WebSocket protocol allows for more interaction between the browser and the website, facilitating live content and creating real-time games. This is possible by providing a standard way for the server to send the content to the browser without being requested by the client, and while the connection is open, it allows messages to be forwarded back and forth. In this way, the current two-way call can be established between a browser and a server.

Features sgcWebSockets:

A fully functional WebSocket server according to RFC 6455
Firemonkey support (Windows, MacOS, iOS and Android)
Support for Lazarus / FreePascal, CBuilder, C # .NET via sgcWebSockets.dll
Supports Chrome, Firefox, Safari, Opera and Internet Explorer (including iPhone, iPad and iPod).
Support for binary and unicode messages
Compress messages using PerMessage_Deflate
Flash FallBack for Web browsers without native WebSockets (like Internet Explorer 6-9)
The server component provides WebSocket and HTTP connectivity through the same port.
Built under the protocol: JSON-RPC 2.0 (Operational Messages, PubSub, RPC, Attributes, QoS and more), Dataset, Binary Files, WebRTC and WAMP.
Supports SSL / TLS on server and client components
Javascript events for complete control
Required system

Delphi 7 - Delphi 102 Tokyo

PDF sgcWebSockets 4.1.10 - 208 pages: 
http://www.esegece.com/manual/sgcWebSockets.pdf

Simple example of use.

How Create VCL WebSocket Client
Example: open a websocket connection to echo.websocket.org

  1. Create a new VCL Forms Application
  2. Drop a TsgcWebSocketClient in a Form and configure Host and Port Properties to connect to Server.
    sgcWebSocketClient1.Host := 'echo.websocket.org';
    sgcWebSocketClient1.Port := 80;
  3. Drop a TButton in a Form, Double Click and type this code:
   sgcWebSocketClient1.Active := True;
  4. Drop a TButton in a Form, Double Click and type this code:
   sgcWebSocketClient1.WriteData('Hello Server From VCL Client');
  5. Build Project and that's all, you have configured a basic WebSocket Client.  

How Create VCL WebSocket Server
Example: create a server which listen on port 80

  1. Create a new VCL Forms Application
  2. Drop a TsgcWebSocketServer in a Form and set listening port
      sgcWebsocketServer1.Port := 80;
  3. On Events Tab, Double click OnMessage Event, and type following code:
      ShowMessage('Message Received From Client: ' + Text);
  4. Drop a TButton in a Form, Double Click and type this code:
      sgcWebSocketServer1.Active := True;
   5. Build Project and that's all, you have configured a basic WebSocket Server.

How Create Linux WebSocket Server
Example: Simple Server listening on port 5000.

program sgcWebSockets_linux;
{$APPTYPE CONSOLE}
{$R *.res}
uses
  System.SysUtils, sgcWebSocket;
var
  oServer: TsgcWebSocketServer;
begin
  try
    oServer := TsgcWebSocketServer.Create(nil);
    oServer.Port := 5000;
    oServer.Active := True;

    while oServer.Active do
      Sleep(10);
  except
    on E: Exception do
      Writeln(E.ClassName, ': ', E.Message);
  end;

end.  


http://dl.downloadly.ir/Files/Software2/sgcWebSockets_4.2.5_For_Delphi_XE-10.3_Rio_Downloadly.ir.rar

http://dl.downloadly.ir/Files/Software2/sgcWebSockets_4.2.3_For_Delphi_10-10.3_Rio_Downloadly.ir.rar

http://dl.downloadly.ir/Files/Software2/Esegece_sgcWebSockets_v4.2.2_Patched_Downloadly.ir.rar

http://dl.downloadly.ir/Files/Software2/Esegece_sgcWebSockets_v4.2.1_2019_Downloadly.ir.rar

http://dl.downloadly.ir/Files/Software/Esegece_sgcWebSockets_v_4.2.0_2018_Downloadly.ir.rar

http://dl.downloadly.ir/Files/Software/sgcWebSockets_4.1.11_Downloadly.ir.rar

http://dl.downloadly.ir/Files/Software/sgcWebSockets_4.1.10_Downloadly.ir.rar

http://dl.downloadly.ir/Files/Software/sgcWebSockets_4.1.9_Downloadly.ir.rar

http://dl.downloadly.ir/Files/Software2/Esegece_scgWebSockets_v4.1.8_2018_Downloadly.ir.rar

http://dl.downloadly.ir/Files/Software2/eSeGeCe_sgcWebSockets_4.1.5_for_D7-D10.2_Full_Source_Downloadly.ir.rar

http://dl.downloadly.ir/Files/Software2/eSeGeCe_sgcWebSockets_v4.1_Full_Source_Downloadly.ir.rar
----------------------------------------------
The higher the degree, the greater the respect given to the humblest!RAD 11.3
作者:
男 dmzn (dmzn) ★☆☆☆☆ -
盒子活跃会员
2019/5/28 10:37:10
1楼: ver4.2.5没有android的crack文件,有没有什么影响
----------------------------------------------
生活愉快.
作者:
男 emailx45 (emailx45) ▲▲▲▲△ -
普通会员
2019/5/29 0:34:01
2楼: the crack normally is defined on VCL unit.

v4.2.5 sometimes is showing like "UNREGISTERED", THEN I think that is not cracked at all.

hug
----------------------------------------------
The higher the degree, the greater the respect given to the humblest!RAD 11.3
作者:
男 dmzn (dmzn) ★☆☆☆☆ -
盒子活跃会员
2019/5/30 10:44:18
3楼: 测试了一下,以MQTT协议win32为例:
1. V4.2勉强能用,更高版本在高频率发布的时候会卡死主界面.
2. TsgcWebSocketclient.NotifyEvents=neNoSync时,不触发Publish事件,导致数据无法接收.
3. 内存泄漏和内存异常.
----------------------------------------------
生活愉快.
作者:
男 didipia (didipia) ▲▲△△△ -
普通会员
2020/10/6 10:00:18
4楼: UNREGISTERED
----------------------------------------------
-
作者:
男 adsoft (adsoft) ★☆☆☆☆ -
普通会员
2021/6/10 21:54:44
5楼: sgcWebSockets v4.4.4 for D7-D10.4 Sydney Full Source.7z
https://download.csdn.net/download/weixin_41863029/19549195
任何人都可以下載和發布嗎?
----------------------------------------------
-
作者:
男 xdnice (xdnice) ★☆☆☆☆ -
普通会员
2021/6/16 9:28:51
6楼: csdn上没有权限,哪位大佬方便转一份sgcWebSockets v4.4.4 到网盘或者盒子的ftp上?
----------------------------------------------
-
作者:
男 a88888 (德玛西亚) ▲▲▲△△ -
普通会员
2021/6/16 12:16:10
7楼: 这玩意有啥限制啊?用了几个月,也没发现限制了什么东西,一直可以用
----------------------------------------------
-
作者:
男 xdnice (xdnice) ★☆☆☆☆ -
普通会员
2021/6/16 13:01:02
8楼: 感谢df007提供帮助。
sgcWebSockets v4.4.4 for D7-D10.4 Sydney Full Source 已上传盒子ftp了。
----------------------------------------------
-
作者:
男 122012744 (ccnuljh) ▲△△△△ -
普通会员
2023/11/24 17:11:27
9楼: sgcWebSockets v4.4.4 for D7-D10.4 Sydney Full Source 在哪里可以下载?
----------------------------------------------
-
信息
登陆以后才能回复
Copyright © 2CCC.Com 盒子论坛 v3.0.1 版权所有 页面执行74.70703毫秒 RSS