Début création du fichier du server unicast

This commit is contained in:
2022-02-20 11:34:10 +01:00
parent e8965385b3
commit f58890ead1
2 changed files with 47 additions and 2 deletions

View File

@@ -12,9 +12,12 @@ const (
func main() {
println("StorBackEnd started !")
multicast := network.CreateClientMulticast(MULTICAST_ADDRESS, MULTICAST_SECOND)
//multicast := network.CreateClientMulticast(MULTICAST_ADDRESS, MULTICAST_SECOND)
/* go */
multicast.Run()
//multicast.Run()
server := network.ServerUnicast{Network: "tcp", Address: "0.0.0.0:58000"}
server.Run()
}