Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: IO::Socket::UNIX recvmsg error

by mattk (Pilgrim)
on May 16, 2005 at 05:53 UTC ( #457372=note: print w/replies, xml ) Need Help??


in reply to Re^2: IO::Socket::UNIX recvmsg error
in thread IO::Socket::UNIX recvmsg error

In this case, FIFOs would actually be more appropriate than sockets. Sockets are analogous to TCP or UDP connections (which is no coincidence), whereas FIFOs are closer to "ordinary" file operations. But since you've already been down that road, you'll have to look elsewhere.

Have you considered processing lines from the file as they arrive, tail -f style?

Replies are listed 'Best First'.
Re^4: IO::Socket::UNIX recvmsg error
by fuzzyping (Chaplain) on May 16, 2005 at 10:19 UTC
    Tailing it won't work either. I'm using djm's Flowd, which expects you to init() the logfile. It does not accept stdin as a interface for conversion. I'm working with djm right now, it appears the fifo problem is a bug with flowd.

    Thanks,

    -fp

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://457372]
help
Chatterbox?
[LanX]: did you even go to the Dutch Perl Workshop in Utrecht?
[erix]: haha ok. I'm going to Glasgow though, and make a long road trip round the isles
[erix]: [Lanx} not the last time but the one before (there have been two)
[LanX]: when did you move to Utrecht, you used to live in a windmill on a dyke walking around in wooden shoes. ..
[LanX]: ... did you lie to me? OO
erix wouldn't mind a nice old windmill to live in... Mueller/Miller/ Molenaar

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (11)
As of 2017-12-15 16:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (439 votes). Check out past polls.

    Notices?