coderMyy/CocoaAsyncSocket_Demo
基于AsyncSocket搭建即时通讯体系 . 包含TCP连接 , 消息发送 , 消息接收 , 心跳处理 ,断网重连 , 消息超时 , 消息分发 , 数据库结构设计 , 消息丢失等 . 以及UI设计, 文本表情消息/语音消息/图片消息/视频消息/文件消息/撤回消息/提示语消息的实现思路讲解 observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3422
- days_rel: n/a
- days_push: 2786
- n_releases_24m: 0
Adoption not part of the score
1059 stars · 282 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
An iOS instant messaging demo built on CocoaAsyncSocket (TCP), covering connection, message send/receive, heartbeat, reconnection, message dispatch, and local database design. It also demonstrates UI for text, emoji, voice, image, video, file, and message-recall chat features.
Use cases
- build an iOS chat app over TCP sockets
- implement heartbeat and reconnection for IM
- handle message timeout and loss in a chat app
- design a message database for instant messaging
- render emoji, voice, image, and video message bubbles in iOS chat UI
- learn socket programming on iOS with AsyncSocket
When to choose
- you want a reference implementation of a WeChat-like IM client on iOS
- you need working examples of TCP heartbeat, reconnection, and message dispatch in Objective-C/Swift
When to avoid
- you need a production-ready IM SDK with voice/video calls
- you target Android or non-Apple platforms
- you need an actively maintained project with a license
Facets
application · maturity maintenance
websocket chat-interface ui-components database serialization messaging-platforms mobile-development instant-messaging tcp-socket cocoaasyncsocket objective-c im-demo heartbeat reconnection chat-app real-time ios swift mobile
1 source
- readme: https://github.com/coderMyy/CocoaAsyncSocket_Demo · fetched 2026-08-28 · 89f8c2babad4
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| coderMyy/CocoaAsyncSocket_Demo | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="coderMyy/CocoaAsyncSocket_Demo")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem