redirecting with file descriptor

view story

http://www.unix.com – hello, Someone can help me with redirectors? I am writing this script in bash enviroment on Fedora: Code: exec 4<> /dev/tcp/    #open socket in input/output strings<&4 >file.txt & I send file descriptor 4 to string command to purge data stream from special char while come from connection but if i try to redirect the output to >file.txt I get no data. Without >file.txt stream is correctly processed and sent to video (stdout) I have also tryed with tee command without success... where I am getting wrong? Tnx in advantage (HowTos)