[Pythonmac-SIG] Off-topic : /dev/tcp

eichin at metacarta.com eichin at metacarta.com
Tue Mar 30 16:16:49 EST 2004


> The book "Linux shell scripting with Bash" says that you can open
> network connections with /dev/tcp as in
> 
> exec 3<> /dev/tcp/localhost/80

Ah, the trick here is that it *isn't* part of linux: it is part of
*Bash*, directly (and does work under OS X, from a quick experiment.)



More information about the Pythonmac-SIG mailing list