in reply to Telnet Client/Server: What am I doing wrong?
print STDOUT "Get_CMap() Live Mode\n"; select($t); $t->print($CMap_cmd); $t->flush(); # this flushes the ouput buffer, but it is $|=1 anyway. $newCMapData = $t->get(); print STDOUT "$newCMapData\n"; WriteToScreen($newCMapData);
What is the select in this code for? i.e. what do you think it's doing ?
and why do you need the flush?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Telnet Client/Server: What am I doing wrong?
by PM_Visitor (Initiate) on Dec 16, 2012 at 01:19 UTC | |
by eyepopslikeamosquito (Archbishop) on Dec 16, 2012 at 04:30 UTC | |
by PM_Visitor (Initiate) on Dec 16, 2012 at 18:12 UTC | |
by RichardK (Parson) on Dec 16, 2012 at 15:15 UTC | |
by PM_Visitor (Initiate) on Dec 16, 2012 at 21:34 UTC |