samedi 25 août 2018

Is there any way to split a character stream generated from /dev/urandom to different substreams?

I need to take a high-speed stream of random numbers generated by a hardware device and split it to different sub-streams. For the testing purposes I considering /dev/urandom as a data source. Any help? The sum of sub-stream speeds should add up to initial stream speed ( or to be close ). The sub-streams are later sent to end user by creating a socket between netcat and /dev/tcp with usage of file descriptor 3 (or another).




Aucun commentaire:

Enregistrer un commentaire