in reply to launching another program but using the existing socket
open(STDOUT, '>&'.fileno($socket)); open(STDIN, '<&'.fileno($socket)); exec("$program_path"); [download]