winddriver / Delphi Cross Socket
Licence: lgpl-3.0
Delphi cross platform socket library
Stars: ✭ 250
Labels
Projects that are alternatives of or similar to Delphi Cross Socket
Plibsys
Highly portable C system library: threads and synchronization primitives, sockets (TCP, UDP, SCTP), IPv4 and IPv6, IPC, hash functions (MD5, SHA-1, SHA-2, SHA-3, GOST), binary trees (RB, AVL) and more. Native code performance.
Stars: ✭ 402 (+60.8%)
Mutual labels: socket, cross-platform
Hp Socket
High Performance TCP/UDP/HTTP Communication Component
Stars: ✭ 4,420 (+1668%)
Mutual labels: socket, cross-platform
Zeus
A high performance, cross-platform Internet Communication Engine. Developed with native socket API. Aim at handling millions of concurrent connections.
Stars: ✭ 30 (-88%)
Mutual labels: socket, cross-platform
Gdx Rpg
java & libgdx制作的RPG游戏! an RPG by java and LibGDX
Stars: ✭ 239 (-4.4%)
Mutual labels: cross-platform
Foundation lib
Cross-platform public domain foundation library in C providing basic support data types and functions to write applications and games in a platform-independent fashion.
Stars: ✭ 249 (-0.4%)
Mutual labels: cross-platform
Dialog
Simple cross-platform dialog API for go-lang
Stars: ✭ 237 (-5.2%)
Mutual labels: cross-platform
Dollchan Extension Tools
The best way to browse imageboards
Stars: ✭ 247 (-1.2%)
Mutual labels: cross-platform
Pillar Valley
👾A cross-platform video game built with Expo, three.js, and Firebase! 🎮🕹
Stars: ✭ 242 (-3.2%)
Mutual labels: cross-platform
Asciimatics
A cross platform package to do curses-like operations, plus higher level APIs and widgets to create text UIs and ASCII art animations
Stars: ✭ 2,869 (+1047.6%)
Mutual labels: cross-platform
Cgofuse
Cross-platform FUSE library for Go - Works on Windows, macOS, Linux, FreeBSD, NetBSD, OpenBSD
Stars: ✭ 245 (-2%)
Mutual labels: cross-platform
Classicuo
ClassicUO - an open source implementation of the Ultima Online Classic Client.
Stars: ✭ 239 (-4.4%)
Mutual labels: cross-platform
Panda3d
Powerful, mature open-source cross-platform game engine for Python and C++, developed by Disney and CMU
Stars: ✭ 3,035 (+1114%)
Mutual labels: cross-platform
Hprose Html5
Hprose is a cross-language RPC. This project is Hprose 2.0 Client for HTML5
Stars: ✭ 237 (-5.2%)
Mutual labels: cross-platform
Baselibrary
🔥Android开发 常用基础公共库(mvp/mvvm/retrofit/rxjava/socket/ble/多语言) 直接下载或依赖即可使用
Stars: ✭ 243 (-2.8%)
Mutual labels: socket
Ecere Sdk
Ecere SDK (eC Language, Ecere IDE, Cross platform GUI, graphics, and more) — http://ec-lang.org —
Stars: ✭ 244 (-2.4%)
Mutual labels: cross-platform
Delphi 跨平台 Socket 通讯库
作者: WiNDDRiVER([email protected])
English
捐赠
如果你觉得这个项目对你有用,请考虑捐赠支持作者继续更新
- 微信
- 支付宝
更新记录
2020.07.07
- ICrossHttpServer 及 ICrossWebSocketServer 同时支持 http 和 https
感谢 xlnron 的帮助
2019.02.17
- 修复 TIoEventThread 可能引起的内存泄漏的问题
感谢 viniciusfbb 发现并修复了该问题
- 修复 [weak] 引起的内存泄漏问题
与第三方内存管理库搭配使用时会出现内存泄漏,robertodellapasqua 发现了该问题,最终由 pony5551 找到了该问题产生的原因,特此感谢!这应该是 Delphi 的 [weak] 内部实现有缺陷,将 [weak] 替换成 [unsafe] 后该问题得以解决。
2019.01.15
- 增加 mbedtls 支持
- mbedtls启用方法:在工程编译选项中开启 __CROSS_SSL__ 和 __MBED_TLS__ 这两个编译开关, 并且将 MbedObj 下的目录添加到对应平台的 Library path 中
- 目前 mbedtls 支持还不够稳定, 请勿用于生产环境
2017.08.22
- 代码重构, 做了大量修改, 详见源码
- 增加了几个新的 interface, 用法详见 demos
- ICrossSocket
- ICrossSslSocket
- ICrossServer
- ICrossSslServer
特性
-
针对不同平台使用不同的IO模型:
- IOCP
Windows
- KQUEUE
FreeBSD(MacOSX, iOS...)
- EPOLL
Linux(Linux, Android...)
-
支持极高的并发
- Windows
能跑10万以上的并发数, 需要修改注册表调整默认的最大端口数
- Mac
做了初步测试, 测试环境为虚拟机中的 OSX 10.9.5, 即便修改了系统的句柄数限制, 最多也只能打开32000多个并发连接, 或许 OSX Server 版能支持更高的并发吧
-
同时支持IPv4、IPv6
-
零内存拷贝
已通过测试
- Windows
- OSX
- iOS
- Android
- Linux
建议开发环境
- 要发挥跨平台的完整功能请使用Delphi 10.2 Tokyo及以上的版本
- 最低要求支持泛型和匿名函数的Delphi版本, 具体是从哪个版本开始支持泛型和匿名函数的我也不是太清楚
已知问题
- 非Windows平台下的SSL不稳定, 请勿用于生产环境
部分测试截图
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].