2
이 bash 파이프 구성을 사용하여 데이터가 손실되는 이유는 무엇입니까?
나는 몇 가지 프로그램을 결합하려고 노력하고 있습니다 (추가 포함을 무시하십시오. 이는 진행중인 작업입니다). pv -q -l -L 1 < input.csv | ./repeat <(nc "host" 1234) 반복 프로그램의 소스는 다음과 같습니다. #include <fcntl.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/epoll.h> #include <sys/stat.h> #include <sys/types.h> #include <unistd.h> #include <iostream> …