mirror of https://github.com/schollz/croc.git
more debugging
This commit is contained in:
parent
de2de7b75c
commit
c70327ff82
|
@ -324,6 +324,7 @@ func (c *Connection) runClient(serverName string) error {
|
||||||
go func(id int) {
|
go func(id int) {
|
||||||
defer wg.Done()
|
defer wg.Done()
|
||||||
port := strconv.Itoa(27001 + id)
|
port := strconv.Itoa(27001 + id)
|
||||||
|
log.Debugf("connecting to %s", serverName+":"+port)
|
||||||
connection, err := net.Dial("tcp", serverName+":"+port)
|
connection, err := net.Dial("tcp", serverName+":"+port)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
if serverName == "cowyo.com" {
|
if serverName == "cowyo.com" {
|
||||||
|
|
Loading…
Reference in New Issue