IPEndPoint SendIpt = new IPEndPoint(AnotherIp,myPort);
string sSendString = txtSendMemo.Text.Trim();
byte[] bSendData = Encoding.ASCII.GetBytes(sSendString);
myUdp.Send(bSendData,bSendData.Length,SendIpt);上面是代码!请高手帮忙看看!