Find Jobs
Hire Freelancers

C++ Binary Stream File Splitter

$30-250 USD

Em Andamento
Publicado há mais de 8 anos

$30-250 USD

Pago na entrega
I have tried to split the output of a named pipe (mkfifo) using the "tee" command in linux with no luck. I suspect that the file input that I am directing to tee is in a binary format since a named pipe works but when tee is introduced into the pipe, it breaks. I have successfully streamed from the source to fifo pipe and captured the output to the listening application that is listening to the fifo pipe. I am looking for a simple C++ program that is able to take 2 command arguments (for the output named pipes) and feed a piped input into this C++ program and have the stream split and output to both named pipes in the directory. Example: This does not work but the concept is the same. {command to initiate binary stream} | tee fifo1 | tee fifo2 Desired program: {command to initiate binary stream} | C++Program argument1 argument2 Basically this would be a tee script but pass binary into both named pipes. Something like this with the ability to split the incoming stream: // writing on a text file #include <iostream> #include <fstream> using namespace std; int main () { ofstream myfile ("[login to view URL]"); if (myfile.is_open()) { myfile << "This is a line.\n"; myfile << "This is another line.\n"; [login to view URL](); } else cout << "Unable to open file"; return 0; } Also, a little help to get this compiled and working on the command line. (raspberrypi)
ID do Projeto: 8319605

Sobre o projeto

3 propostas
Projeto remoto
Ativo há 9 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
Concedido a:
Avatar do Usuário
i hv more than 8 yr exp of c++ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -----------------
$40 USD em 0 dia
0,0 (0 avaliações)
0,0
0,0
3 freelancers estão ofertando em média $60 USD for esse trabalho
Avatar do Usuário
Hello, I can do your project for an hour, starting from tomorrow morning. Thanks....................
$40 USD em 1 dia
4,9 (165 avaliações)
6,3
6,3
Avatar do Usuário
A proposal has not yet been provided
$100 USD em 1 dia
0,0 (0 avaliações)
0,0
0,0

Sobre o cliente

Bandeira do(a) UNITED STATES
Springfield, United States
5,0
4
Método de pagamento verificado
Membro desde mar. 23, 2014

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos Publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.