Over a million developers have joined DZone.

Alternative for capturing traffic between Visual Studio and Windows Phone

DZone's Guide to

Alternative for capturing traffic between Visual Studio and Windows Phone

· Mobile Zone
Free Resource

Launching an app doesn’t need to be daunting. Whether you’re just getting started or need a refresher on mobile app testing best practices, this guide is your resource! Brought to you in partnership with Perfecto

Interestingly enough, today I learned that sometimes my method of capturing traffic between Visual Studio and Windows Phone is not going to work. As I was looking for alternative solutions, including the use of Microsoft Network Monitor (didn't work - no loopback interface support), I stumbled across SocketSniff - a tool that supposedly supported monitoring In fact, it does a pretty good job at it.

Once you start the application, you need to select the Visual Studio process to keep track of:

Once the process is selected and the capture is started, try deploying the application you are working with to a device (or an emulator) and you will see local loopback traffic in the main work window:

There are a few significant drawbacks for me, regarding the use of SocketSniff:

  • No export to PCAP capability - this means that the analysis is done "on the tip of the iceberg" and I cannot really get a lot of details about the transport data.
  • No content export capability - all that is exported is the summary of accessed locations and ports. Otherwise I could've somehow managed to create a PCAP converter. 

However, it works as a basic alternative for initial tracking. Let me know if you managed (or didn't) to use this method.

Keep up with the latest DevTest Jargon with the latest Mobile DevTest Dictionary. Brought to you in partnership with Perfecto.


Opinions expressed by DZone contributors are their own.


Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.


{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}