void Start() { UdpManager client = new UdpManager(SC.CLIENT); for (int i = 0; i < 20; i++) { client.Send(System.Text.Encoding.Unicode.GetBytes("客户端发来Test----" + i + "----"), m_RemotePoint); } client.Receive(); }
void Start() { UdpManager server = new UdpManager(SC.SERVER); server.Receive(); }