19 lines
284 B
Go
19 lines
284 B
Go
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()
|
|
|
|
}
|