summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxegineering <me@xegineering.eu>2024-10-02 15:56:21 +0200
committerxegineering <me@xegineering.eu>2024-10-02 15:56:21 +0200
commit247974c09b7e26115e9b23dc3c3402c93e17a27f (patch)
tree7b5924161460cab6d4e655d69974a95501308396
parentf76d4bee8263b762ddee98f5e52e8d7934a793fd (diff)
downloadsoundbox-go-247974c09b7e26115e9b23dc3c3402c93e17a27f.tar
soundbox-go-247974c09b7e26115e9b23dc3c3402c93e17a27f.tar.zst
soundbox-go-247974c09b7e26115e9b23dc3c3402c93e17a27f.zip
Add soundbox.Port constant
-rw-r--r--soundbox.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/soundbox.go b/soundbox.go
index fcabcdc..389d1da 100644
--- a/soundbox.go
+++ b/soundbox.go
@@ -5,6 +5,10 @@ import (
"net"
)
+// Port is the default network port a soundbox is listening to for incoming
+// audio stream data.
+const Port = 5316
+
type Soundbox struct {
HardwareAddr net.HardwareAddr
}