From 43c6ee651accc899e9ed92fb05605a5a82ad7fbc Mon Sep 17 00:00:00 2001 From: Benjamin Date: Tue, 15 Feb 2022 11:08:07 +0100 Subject: [PATCH] =?UTF-8?q?Pr=C3=A9paration=20du=20point=20de=20d=C3=A9mar?= =?UTF-8?q?age=20du=20programme.=20Pour=20le=20moment,=20une=20communicati?= =?UTF-8?q?on=20multicast=20est=20lanc=C3=A9e=20avec=20des=20configuration?= =?UTF-8?q?s=20sp=C3=A9cifiques.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmd/main.go | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 cmd/main.go diff --git a/cmd/main.go b/cmd/main.go new file mode 100644 index 0000000..f0f6af9 --- /dev/null +++ b/cmd/main.go @@ -0,0 +1,18 @@ +package main + +import "_StorBackEnd/pkg/network" + +const ( + MULTICAST_ADDRESS = "226.0.0.1:42500" + MULTICAST_SECOND = 10 +) + +func main() { + println("StorBackEnd started !") + + multicast := network.CreateClientMulticast(MULTICAST_ADDRESS, MULTICAST_SECOND) + + /* go */ + multicast.Run() + +}