https://github.com/tenfensw/UDPKit
A tiny Objective-C framework for building UDP servers and clients embedded into Cocoa applications
https://github.com/tenfensw/UDPKit
cocoa framework ios ipados macos objective-c swift tcp-ip udp udp-client udp-server
Last synced: about 2 months ago
JSON representation
A tiny Objective-C framework for building UDP servers and clients embedded into Cocoa applications
- Host: GitHub
- URL: https://github.com/tenfensw/UDPKit
- Owner: tenfensw
- License: bsd-2-clause
- Created: 2020-07-08T19:57:16.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-08T22:17:15.000Z (almost 5 years ago)
- Last Synced: 2025-02-18T05:32:32.713Z (2 months ago)
- Topics: cocoa, framework, ios, ipados, macos, objective-c, swift, tcp-ip, udp, udp-client, udp-server
- Language: Objective-C
- Homepage: https://roveramd.com/udpkit/
- Size: 24.4 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# UDPKit
*A tiny Objective-C framework for building UDP servers and clients embedded into applications*
***Copyright (C) Tim K/RoverAMD 2020.*** Licensed under 2-clause BSD License
## What is UDPKit?
UDPKit is a fairly tiny Objective-C framework that wraps around POSIX BSD sockets API in a (probably) convenient object-oriented layer that allows to build UDP servers and clients that are embedded into your Cocoa application.
## UDPKit Example
Check out [main.m](UDPKitDemo/main.m) file inside the *UDPKitDemo* folder which implements a minimalistic echo UDP server in just ~8-10 lines of code.
## Building UDPKit
UDPKit is meant to be built as a framework included in other applications. The respective Xcode projects for macOS (*UDPKit.xcodeproj*) and iOS/iPadOS (*UDPKit_iOS.xcodeproj*) can be added to your Xcode workspace so that the framework could be compiled and distributed in your application without any additional steps.
However, of course you may build UDPKit framework entirely standalone either via Xcode or ``xcodebuild``, just like you would do with any other Xcode project. Building a standalone version might be quite handy if you don't use Xcode workspaces.
## Limitations
Currently, UDPKit does not support IPv6 (while its preliminary wrapper does support UDP server socket creation for IPv6, client creation and well... the classes themselves are not ready).
## Documentation
Well... for now, there is none. :P But there will be at least a brief introduction when the first release of the framework gets ready.
## License
UDPKit uses a 2-clause BSD License. Consult the [LICENSE](LICENSE) file for further information.