PlaneTalk
Base iOS Chat app using TCP/UDP and kevents
Install / Use
/learn @ndPPPhz/PlaneTalkREADME
PlaneTalk 
PlaneTalk is an iOS app written in Swift which lets you send messages to other devices connected to the same Wi-fi-Hotspot network. It's suitable in places where there is no internet connection like airplanes (hence the name PlaneTalk 😃).
The core functionalities are all built around some TCP and UDP's syscall and uses kevent as event notification system.
The UDP protocol is only being used for discovery's purposes whereas the TCP protocol is being used to connect and communicate with the server.
Preview
| Sample 1 | Sample 2 | Sample 3 | | ------------- | ------------- | ------------- | | <img width=150 src="https://user-images.githubusercontent.com/6486741/115229482-04130680-a10b-11eb-8c1c-e373cf2e8603.png"> | <img width=150 src="https://user-images.githubusercontent.com/6486741/115229496-07a68d80-a10b-11eb-9c07-12645ebf09c6.PNG"> | <img width=150 src="https://user-images.githubusercontent.com/6486741/115229668-391f5900-a10b-11eb-9b77-3739fe9a8480.PNG"> |
How it works
When a device launches the app, it can choose to become either the server or a client.
The server is listening to UDP messages to detect clients in the network and opens a TCP socket to receive connection's requests. Clients instead, will broadcast UDP messages for discovery purposes. Once the server receives a discovery message, it broadcasts a discovery response message and then the client then connects to the server via TCP.
License
- Copyright 2020 © Annino De Petra
Related Skills
node-connect
351.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
