2022-02-15 11:08:07 +01:00
|
|
|
package main
|
|
|
|
|
2022-02-19 18:10:52 +01:00
|
|
|
import (
|
|
|
|
"_StorBackEnd/pkg/network"
|
|
|
|
)
|
2022-02-15 11:08:07 +01:00
|
|
|
|
|
|
|
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()
|
|
|
|
|
|
|
|
}
|