My guess (and I'm no expert) is that you'd need your application to operate the NIC in 'promiscuous' mode, and listen in on the communications that way. For a simpler method, you can get a Windows version of tcpdump (I know it exists, but don't have a link), and run that while your apps are running - be warned though, that if you're on a busy network, you'll be parsing through a LOT of data - if possible, run your apps on a single box disconnected from the network (or on 2 boxes only connected to each other).