I\'m trying to create a very basic server in python that listens in on a port, creates a TCP connection when a client tries to connect, receives data, sends something back,
On Windows, you can try these steps:
# 4444 is your port number
netstat -ano|findstr 4444
you will get something like this:
# 19088 is the PID of the process
TCP 0.0.0.0:4444 *:* 19088
With:
tskill 19088
Or:
taskkill /F /PID 19088
Good luck.