nc timeouts too fast

This commit is contained in:
Robert Langhammer 2019-01-12 11:29:48 +01:00
parent 369f8cd748
commit 8afc5446e2
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@
<?php <?php
error_reporting(0); error_reporting(0);
$file="/tmp/babeldump"; $file="/tmp/babeldump";
shell_exec('echo "dump" | nc ::1 33123 -q 0 > '.$file.''); shell_exec('echo "dump" | nc ::1 33123 -q 1 > '.$file.'');
$file_handle = fopen($file, 'r'); $file_handle = fopen($file, 'r');
$set=0; $set=0;