I was hoping for a way of doing this in my program rather than using an external program, but as far as I know there's no way for my program to know how many packets winsock sends as a result of me sending data through my sockets.