disabling TCP connections, just for one script

dify.ltd at gmail.com dify.ltd at gmail.com
Sat Sep 17 17:00:45 EDT 2005


>From the post I gather that you are looking for a solution under Linux.
I don't know much linux, but under Windows you could patch the IAT
(import address table) of the running process temporarly to redirect
calls to the socket winsock api to a stup function, which simply fails.
If you are interested, drop me a letter.




More information about the Python-list mailing list