Thread Socket receive-Frage
(35 answers)
Opened by H3llGhost at 2008-06-05 17:32
Also ich bin jetzt wieder hier angekommen:
Code (perl): (dl
)
1 2 3 4 5 6 7 8 9 10 if (IO::Select->new($s_socket)->can_read(2)) { $s_socket->recv($s_output, 1024); print $s_output; # print "yes"; # while (my $rc = $s_socket->recv($s_output, 1024) ) { # print $s_output; # $buffer .= $s_output; # } } So wird zwar nichts angezeigt, aber es kommt auch kein Fehler. Sobald ich aber eine While-Schleife um etwas davon mache kommt der Fehler wieder. |