I am working on a hack for internal purposes whereby I want to disconnect a program from it's socket without killing the process. For example, program A (running xxx.exe) is running on port 50000 and I want to stop that association and (so that I could theoretically use that port for something else). How would I do this in Windows 7 while keeping the EXE running?
NOTE: the program runs javaw.exe