Préparation du point de démarage du programme. Pour le moment, une communication multicast est lancée avec des configurations spécifiques.
This commit is contained in:
parent
8399d59430
commit
43c6ee651a
18
cmd/main.go
Normal file
18
cmd/main.go
Normal file
@ -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()
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user