Find Jobs
Hire Freelancers

C++ Binary Stream File Splitter

$30-250 USD

Berlangsung
Dibuat lebih dari 8 tahun yang lalu

$30-250 USD

Dibayar ketika dikirim
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 Proyek: 8319605

Tentang proyek

3 proposal
Proyek remot
Aktif 9 tahun yang lalu

Ingin menghasilkan uang?

Keuntungan menawar di Freelancer

Tentukan anggaran dan garis waktu Anda
Dapatkan bayaran atas pekerjaan Anda
Uraikan proposal Anda
Gratis mendaftar dan menawar pekerjaan
Diberikan kepada:
Avatar Pengguna
i hv more than 8 yr exp of c++ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -----------------
$40 USD dalam 0 hari
0,0 (0 ulasan)
0,0
0,0
3 freelancer menawar dengan rata-rata $60 USD untuk pekerjaan ini
Avatar Pengguna
Hello, I can do your project for an hour, starting from tomorrow morning. Thanks....................
$40 USD dalam 1 hari
4,9 (165 ulasan)
6,3
6,3
Avatar Pengguna
A proposal has not yet been provided
$100 USD dalam 1 hari
0,0 (0 ulasan)
0,0
0,0

Tentang klien

Bendera UNITED STATES
Springfield, United States
5,0
4
Memverifikasi Metode pembayaran
Anggota sejak Mar 23, 2014

Verifikasi Klien

Terima kasih! Kami telah mengirim Anda email untuk mengklaim kredit gratis Anda.
Anda sesuatu yang salah saat mengirimkan Anda email. Silakan coba lagi.
Pengguna Terdaftar Total Pekerjaan Terpasang
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuat pratinjau
Izin diberikan untuk Geolokasi.
Sesi login Anda telah kedaluwarsa dan Anda sudah keluar. Silakan login kembali.