Click here to Skip to main content
15,892,005 members

Comments by mitchmcc (Top 4 by date)

mitchmcc 5-Aug-11 19:59pm View    
This code is very basic. There is no listener. Once you create the UDPClient, you have to pass the IPEndPoint to the receive method so it can tell the app where the datagram came from. There are many examples of C# UDP Clients that show this technique.
mitchmcc 4-Aug-11 14:19pm View    
Michael, thanks for your help. It did help me figure out the problem. Believe it or not, it appeared that there was some type of invalid character in my .config file, and this was (I believe) causing the service to essentially crash before it really even got started. This meshes with what I saw!

Thanks again, and my advice to everyone is to check your .config file!
mitchmcc 26-Jul-11 11:08am View    
I know I can put in a breakpoint and get it to stop somewhere useful, but in this instance, I knew (or at least suspected) that it was blocked inside a MessageQueue.Receive() call, but the "break all" does NOT show this in the call stack trace, as I would have expected.
mitchmcc 26-Jul-11 11:06am View    
When I "break all", the call stack shows the same place I mentioned in my original post, which is not really where the program is running (I know it is always busy, and expect to see where in the main program logic it is).