Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

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

Get gorgeous, multi-touch charts for your iOS application with just a few lines of code.

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 127.0.0.1. 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.

.Net developers: use Highcharts, the industry's leading interactive charting library, without writing a single line of JavaScript.

Topics:

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}