Thread Kontinuierlich Net-Stream anzeigen (29 answers)
Opened by kami at 2011-11-09 13:05

Gast wer
 2011-11-10 13:45
#154096 #154096
mach mal:
Code (perl): (dl )
1
2
3
4
5
6
7
8
  my $buffer='';
  my $line='';
  while(defined($line) && time() < $time+20 && $finished==0)
  {
    $handle->read($line,4096);
    $finished=1 if(index($buffer,'L:')!=-1);
    $buffer.=$line if(defined($line) && length($line));
  }

Last edited: 2011-11-10 13:49:38 +0100 (CET)

View full thread Kontinuierlich Net-Stream anzeigen