mirror of https://github.com/schollz/croc.git
localhost->serverAddress
This commit is contained in:
parent
df622467dd
commit
c3956b059e
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue