增加稳定性

This commit is contained in:
wenyifan
2022-09-01 17:49:27 +08:00
parent 0b338de152
commit c695474f6b
2 changed files with 6 additions and 1 deletions

View File

@ -41,7 +41,7 @@ func (c *Client) Start() {
stream := bridge.GetStream()
if stream == nil {
conn.Close()
fmt.Printf("[Client] connect to server error")
fmt.Println("[Client] connect to server error")
continue
}
fmt.Printf("[Client] New TCP connection: %v <-> %v \n", conn.LocalAddr().String(), conn.RemoteAddr().String())