From 52c58f11955dac3185ea6c6c18776e428cbaf800 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 25 Apr 2023 20:36:42 +0200 Subject: Add blocking server --- open-sound-control/api.scm | 3 +++ open-sound-control/server.scm | 25 +++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 open-sound-control/server.scm (limited to 'open-sound-control') diff --git a/open-sound-control/api.scm b/open-sound-control/api.scm index b34b874..6ee3c9f 100644 --- a/open-sound-control/api.scm +++ b/open-sound-control/api.scm @@ -20,8 +20,11 @@ ;; (define-module (open-sound-control api) #:export (make-osc-server-thread + make-osc-server add-osc-method + osc-recv + make-osc-address osc-send)) diff --git a/open-sound-control/server.scm b/open-sound-control/server.scm new file mode 100644 index 0000000..308faf1 --- /dev/null +++ b/open-sound-control/server.scm @@ -0,0 +1,25 @@ +;; +;; open-sound-control/server.scm +;; +;; Copyright © 2023 Thomas White +;; +;; This file is part of Guile-OSC. +;; +;; Guile-OSC is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published by +;; the Free Software Foundation, either version 3 of the License, or +;; (at your option) any later version. +;; +;; This program is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. +;; +;; You should have received a copy of the GNU General Public License +;; along with this program. If not, see . +;; +(define-module (open-sound-control server) + #:use-module (open-sound-control api) + #:re-export (make-osc-server + add-osc-method + osc-recv)) -- cgit v1.2.3