This question may be a little too low-level to be winsock specific but anyways...

If I have a winsock app running on my machine listening on port X, and on the same machine I open a telnet session to connect to port X - would this still broadcast the packets over a network or would windows be smart enough to keep the network broadcast out of the loop?

I'm working on a proxy client and proxy server app that will encrypt packets between the two so that sniffers can't pick up and easily read what is being transferred, and this would be worth naught if the said packets get broadcast anyway.

Thanks for help.