hi, how can i close the connections from the netstat information? in the netstat information appears connections like this:
Conexiones activas
Proto Direcci¢n local Direcci¢n remota Estado
TCP 0.0.0.0:135 CorruptedPC:0 LISTENING
TCP 0.0.0.0:445 CorruptedPC:0 LISTENING
TCP 0.0.0.0:1025 CorruptedPC:0 LISTENING
TCP 0.0.0.0:1026 CorruptedPC:0 LISTENING
TCP 0.0.0.0:1027 CorruptedPC:0 LISTENING
TCP 0.0.0.0:1028 CorruptedPC:0 LISTENING
TCP 0.0.0.0:1030 CorruptedPC:0 LISTENING
TCP 0.0.0.0:1031 CorruptedPC:0 LISTENING
TCP 0.0.0.0:3306 CorruptedPC:0 LISTENING
TCP 0.0.0.0:5357 CorruptedPC:0 LISTENING
TCP 127.0.0.1:1029 CorruptedPC:5354 ESTABLISHED
TCP 127.0.0.1:1035 CorruptedPC:27015 ESTABLISHED
TCP 127.0.0.1:1786 CorruptedPC:1787 ESTABLISHED
TCP 127.0.0.1:1787 CorruptedPC:1786 ESTABLISHED
TCP 127.0.0.1:1790 CorruptedPC:1791 ESTABLISHED
TCP 127.0.0.1:1791 CorruptedPC:1790 ESTABLISHED
TCP 127.0.0.1:1940 CorruptedPC:5354 ESTABLISHED
TCP 127.0.0.1:1944 CorruptedPC:5354 ESTABLISHED
TCP 127.0.0.1:1945 CorruptedPC:5354 ESTABLISHED
TCP 127.0.0.1:1952 CorruptedPC:27015 ESTABLISHED
TCP 127.0.0.1:5354 CorruptedPC:0 LISTENING
TCP 127.0.0.1:5354 CorruptedPC:1029 ESTABLISHED
TCP 127.0.0.1:5354 CorruptedPC:1940 ESTABLISHED
TCP 127.0.0.1:5354 CorruptedPC:close-combat ESTABLISHED
TCP 127.0.0.1:5354 CorruptedPC:1945 ESTABLISHED
TCP 127.0.0.1:27015 CorruptedPC:0 LISTENING
TCP 127.0.0.1:27015 CorruptedPC:1035 ESTABLISHED
TCP 127.0.0.1:27015 CorruptedPC:1952 ESTABLISHED
TCP 192.168.1.108:139 CorruptedPC:0 LISTENING
TCP 192.168.1.108:1905 channel-ji-13-01-snc7:https ESTABLISHED
TCP 192.168.1.108:1953 a63-80-4-50:http CLOSE_WAIT
TCP 192.168.1.108:2350 www-14-05-prn1:https TIME_WAIT
TCP 192.168.1.108:2591 nuq04s07-in-f11:http ESTABLISHED
TCP 192.168.1.108:2597 pz-in-f120:http ESTABLISHED
TCP 192.168.1.108:2600 www-15-06-prn1:https ESTABLISHED
TCP 192.168.1.108:2614 nuq04s07-in-f2:http ESTABLISHED
TCP 192.168.1.108:2627 nuq04s07-in-f12:https ESTABLISHED
TCP 192.168.1.108:2638 nuq04s07-in-f10:https ESTABLISHED
and others with the remote ip, how can i close the connection with the remote ip and the port?
I need program this in c #, any idea?
thanks