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
error_reporting(0);
$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');
$set=0;