in reply to Re^2: direct data to a socket
in thread direct data to a socket

Well, yes, but unlike C++, Perl is a language I personally use and mostly like.