|
@@ -65,6 +65,7 @@ func (c *TcpClient) Output(pt pb.PackageType, requestId int64, message proto.Mes |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
func (c *TcpClient) Start() { |
|
|
func (c *TcpClient) Start() { |
|
|
|
|
|
|
|
|
//connect, err := net.Dial("tcp", "111.229.238.28:8080") |
|
|
//connect, err := net.Dial("tcp", "111.229.238.28:8080") |
|
|
connect, err := net.Dial("tcp", "im-tcp-connect.izhyin.com:8001") |
|
|
connect, err := net.Dial("tcp", "im-tcp-connect.izhyin.com:8001") |
|
|
if err != nil { |
|
|
if err != nil { |
|
|