|
@@ -192,7 +192,7 @@ namespace ClassFile
|
|
|
int clientPort = (connection.RemoteEndPoint as IPEndPoint).Port;
|
|
|
|
|
|
//让客户显示"连接成功的"的信息
|
|
|
- string sendmsg = "连接服务端成功!\r\n" + "本地IP:" + clientIP + ",本地端口" + clientPort.ToString();
|
|
|
+ string sendmsg = "Connect Success!" + "LocalIP:" + clientIP + ",LocalPort" + clientPort.ToString();
|
|
|
byte[] arrSendMsg = Encoding.UTF8.GetBytes(sendmsg);
|
|
|
connection.Send(arrSendMsg);
|
|
|
|