i am trying to create a simple UDP client application on the windows mobile using c# to send messages as data packets to a desktop pc. I am getting this error when deploy the application on windows mobile;
"An address incompatible with the requested protocol was used"i am very new to windows mobile application development and this is partof my final year project. Can someone please give me some clues why i am getting this error? I need to solve this problem urgently
the bit of code that generates the error is as follows:
Expand|Select|Wrap|Line Numbers
- string packet = "Hello";
- byte[] data = System.Text.Encoding.ASCII.GetBytes(packet);
- client.Send(data, data.Length, "127.0.0.1", 50000);
Channa
<edit by mod: use [code] and [quote] tags, not [b] and [u]>