Does somebody knows how to close a TCP or UDP socket for a single connection via windows command line?
Googling about this, I saw some people asking the same thing.
you can use program like tcpview from sysinternal. I guess it can help you a lot on both monitoring and killing unwanted connection.