S
socket
Hey,
I need to make two programs I wrote to communicate with each other,
but what's the best way to implement it? Both programs will be running
on the same machine.
I don't want to open sockets and transfer the data 'network style'
because of security issues.
The data transfer is only one way, program A will be sending streams
of data to program B, and program B will output the data.
I thought about using shared memory between the two applications but
how can I make program B to read from memory when program A updates
the allocated memory?
If you have a better idea I'd love to hear it
I'm using gcc.
I need to make two programs I wrote to communicate with each other,
but what's the best way to implement it? Both programs will be running
on the same machine.
I don't want to open sockets and transfer the data 'network style'
because of security issues.
The data transfer is only one way, program A will be sending streams
of data to program B, and program B will output the data.
I thought about using shared memory between the two applications but
how can I make program B to read from memory when program A updates
the allocated memory?
If you have a better idea I'd love to hear it
I'm using gcc.