mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 05:11:06 +02:00
localhost->serverAddress
This commit is contained in:
parent
df622467dd
commit
c3956b059e
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue