Hi;
I have a little test program that works great to send/receive UDP packets if
I run both ends on the same computer. If I run them on different computers -
doesn't work.
I have checked and checked and checked and I am using the remote IP address.
Here is the relevant code.
sendSocket = new UdpClient(0);
sendSocket.Send(data, data.length, new IPEndPoint(remoteAddress, port))
...
readSocket = new UdpClient(0);
IPEndPoint ep = new IPEndPoint(IPAddress.Any, 0);
ubyte[] pkt = readSocket.Receive(ep); // J# code so no ref
Any ideas?

Signature
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm
David Thielen - 07 Oct 2006 19:36 GMT
This appears to be a visual studio debugger issue. If I run the app, it
works. But if I run it under the debugger, it doesn't. No idea why.

Signature
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm
> Hi;
>
[quoted text clipped - 14 lines]
>
> Any ideas?
Charles Wang[MSFT] - 09 Oct 2006 08:24 GMT
Hi Dave,
My understanding of your issue is:
Your two test programs worked fine at your local computer, however if you
deployed them on two computers with debugger mode, they failed to work. It
seemed that the release versions were no problem.
If I have misunderstood, please let me know.
For further research, I recommend that you insert breakpoints to both of
your programs and perform online debug to locate which program and which
line breaks the communication. What's the error message at that moment?
Sincerely,
rles Wang
Microsoft Online Community Support
======================================================
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from this issue.
======================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
======================================================
David Thielen - 09 Oct 2006 17:46 GMT
Found the problem - TrendMicro firewall was stopping the inbound connection
on one system - never poped up and asked about it - just killed it. Working
now.
From now on I am turning off the firewall on all systems when I test network
code.

Signature
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm
> Hi Dave,
> My understanding of your issue is:
[quoted text clipped - 18 lines]
> This posting is provided "AS IS" with no warranties, and confers no rights.
> ======================================================
Charles Wang[MSFT] - 10 Oct 2006 12:10 GMT
Hi,
Thank you for your reply and the detailed additional feedback on how you
were successful in resolving this issue. This information has been added to
Microsoft's database. Your solution will benefit many other users, and we
really value having you as a Microsoft customer.
If you have any other questions or concerns, please do not hesitate to
contact us. It is always our pleasure to be of assistance.
Have a nice day!
Charles Wang
Microsoft Online Community Support
======================================================
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from this issue.
======================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
======================================================