in reply to Bi directional Socket question

Buy/steal the perl cookbook... good examples perl -MLWP::Simple -e'getprint "http://parseerror.com/p"' |less