From c3956b059e3b106534189a55fa1f946d50966320 Mon Sep 17 00:00:00 2001 From: Zack Scholl Date: Tue, 17 Oct 2017 18:45:52 -0600 Subject: [PATCH] localhost->serverAddress --- connect.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connect.go b/connect.go index 7e125d1..5567595 100644 --- a/connect.go +++ b/connect.go @@ -33,7 +33,7 @@ func runClient(connectionType string, codePhrase string) { go func(id int) { defer wg.Done() port := strconv.Itoa(27001 + id) - connection, err := net.Dial("tcp", "localhost:"+port) + connection, err := net.Dial("tcp", serverAddress+":"+port) if err != nil { panic(err) }