Reputation: 15
I'm making a C# application in VS2010 that can act as both a client and a server (To communicate with other instances of itself).
My question is, what is a good way of testing the networking in such an application?
I can publish and run the application on another machine but I'd like to be able to debug both instances.
Upvotes: 0
Views: 93
Reputation: 2282
Testing Techniques
Using Packet sniffers, such as Wireshark, to monitor and analysis packets, such as their source and destination IP addresses, MAC addresses, port numbers, protocols, etc... For a *Nix environment there's TCPdump.
A basic guide to using Wireshark
I would also recommended reading Richard Blum C# Network Programming Book. There's an Ebook copy available. Contains useful information about testing network communications...
Upvotes: 1