|
|
|
@ -871,6 +871,7 @@ namespace Rs.MotionPlat.Entitys
|
|
|
|
|
string content=Encoding.ASCII.GetString(registData.ToArray());
|
|
|
|
|
//MessageQueue.Instance.Insert($">>> ip:{ep.Address.ToString()},port:{ep.Port.ToString()},{content}");
|
|
|
|
|
string[] items = content.TrimEnd(new char[] { '$' }).Split('#');
|
|
|
|
|
Thread.Sleep(500);
|
|
|
|
|
string reg = "Register#1$";
|
|
|
|
|
int sendLen = clientSocket.Send(Encoding.ASCII.GetBytes(reg));
|
|
|
|
|
MessageQueue.Instance.Insert($"<<< ip:{ep.Address.ToString()},port:{ep.Port.ToString()},{reg}");
|
|
|
|
|