A simple log server that takes messages by a socket connection. The server is written in pure C. There is some infrastructural Swift code but it needs only to support building as a Swift package.
swift build
./.build/debug/rdlog 7778
or run ./run.sh
that does the same.
Package.swift
file add:// Package dependencies:
.package(
name: "rdlog",
url: "[email protected]:drrost/rdlog.git",
.exact("0.0.1")
)
// Target dependencies:
dependencies: [
.product(name: "rdlog_client", package: "rdlog")
]
makeCString(from:)
.cstr_from_cf
.path_for_res
.rd_str_has_suffix
.rd_str_has_suffix
to rdlib
.rd_str_has_prefix
in rdlib
.link |
Stars: 0 |
Last commit: 2 years ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics