udpclient C#
I want to make a p2p software using udpclient.
but I can't send a message to a appoint computer.
the code:send
private IPAddress RemoteAddress;
UdpClient myClient = new UdpClient()
RemoteAddress = IPAddress.Parse("192.168.1.88");
IPEndPoint RemoteEP = new (IPAddress,8080)
Byte[] strData = Encoding.ASCII.GetBytes("test");
int strSend=myClient.Send(strData,StrData.Length,Remot eEP);
why can I receive the Message("test") using the method
Receive .on the other computer(ip:192.168.1.55)
|