jdtoronto has asked for the wisdom of the Perl Monks concerning the following question:

In Named pipes on Win32 I asked about using Named Pipes with Win32. I haven't had a chance yet to follow up on this, but now I have an immediate need thrown at me.

A third-party house wants to signal me from a VOIP soft-phone product when an incoming call is received. They need to tell me the caller-ID - that is all. They need to do this every time a call comes in.

It would seem they do not have an API for this, they are asking me what I want, and as someone almost toally ignorant of the world outside Perl I have no idea what to tell them! I have one other third-party interface, they write a file with the call-ID when a call comes in and I use Win32::ChangeNotify to tell me when to go read the file.

Any suggestions, preferably with some sort of example or tutorial.

jdtoronto

PS: Offers to consult gratefully accepted! I think I am getting out of my depth here.

Replies are listed 'Best First'.
Re: Pipes or Events in Win32
by traveler (Parson) on Sep 05, 2006 at 18:06 UTC
    You could use a simple UDP packet to send the data, and than a reply with a sort of ACK if it needd to be "reliable". This will work if you are on the same PC or over a network. If they or you end up moving to *nix, this would work, too.
Re: Pipes or Events in Win32
by cdarke (Prior) on Sep 06, 2006 at 07:07 UTC
    I would forget about Windows Named Pipes for this one. They require the client to login to your Windows domain, which is unlikely in your senario.