Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: Porting a system 5 streams app to linux

by rg0now (Chaplain)
on Apr 29, 2005 at 19:29 UTC ( #452727=note: print w/replies, xml ) Need Help??

in reply to Porting a system 5 streams app to linux

What you describe here is a pretty strange sementics, at least for me, socialized on Linux. As far as I can understand you, you require that two or more processes write to the same pipe and the other side, by some miraculous way, can still distinguish between the senders of data. I do not know any facilities on Linux that can provide this to you (but I did not know about sysV streams either, before reading your post, so I might not be relevant here).

However, for me it seems that the only cause you want to do that is to be able to use a C program further, just for the purpose of logging. I know that you might not like this recommendation, but why not get rid of the C program then, and just use some native Perl logging facility, like log4perl? This may save you serious headaches in the long run -- at least, for me it did...:-)

  • Comment on Re: Porting a system 5 streams app to linux

Replies are listed 'Best First'.
Re^2: Porting a system 5 streams app to linux
by suaveant (Parson) on Apr 29, 2005 at 20:30 UTC
    Hehe... obviously I did not explain well... We want to get rid of the C program and turn it into Perl, I was just curious if there were other options that I was not thinking of to do the logging/IPC. Though I ran a mockup with INET tcp that ran about 7000 lines a second, so I think we are all set. I will look at log4perl, however. Thanks!

                    - Ant
                    - Some of my best work - (1 2 3)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://452727]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2017-10-21 21:33 GMT
Find Nodes?
    Voting Booth?
    My fridge is mostly full of:

    Results (270 votes). Check out past polls.