Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Network send with payload

If you have a question or need help, this is the place to be.
Post Reply
User avatar
riro
Posts: 8
Joined: Thu Jan 08, 2009 4:35 pm
Location: Sweden
Contact:

Network send with payload

Post by riro »

I'm tying to send callerid-info over the net...

On my sending installation I get an event Main.Phonecall u"12345632423 - Some Name" from my callerid app. So on that installation it's easy to show OSD with the text "Hey... pick up the phone, {eg.event.payload} is calling".

Then I want to forward this info to another client... but I can't forward the payload, or can I ?
User avatar
jinxdone
Plugin Developer
Posts: 443
Joined: Tue Jan 02, 2007 4:08 pm

Re: Network send with payload

Post by jinxdone »

I agree, It's a limitation on the network sender/receiver. I think it should be improved to add the capability to optionally send a payload also.

In the meantime you could work around this limitation by sending for example "Mystring#Payload" and then in the other end do eg.event.string.split('#'). Which will give you a list of strings that were separated with '#'. Quick'n'dirty, but it'll work..

-jinxdone
kingtd
Plugin Developer
Posts: 78
Joined: Fri Jul 13, 2007 7:39 am

Re: Network send with payload

Post by kingtd »

If you're not too worried about network security, my Broadcaster plug-in has payload support built in:
http://www.eventghost.org/forum/viewtopic.php?f=9&t=724

It also has the side benefit of hitting all of your other machines at once if you have multiple targets like I do. I use it for similar information about the current song playing on the main stereo, or commands to turn off any monitor/PC that's not currently in use.

~K
User avatar
riro
Posts: 8
Joined: Thu Jan 08, 2009 4:35 pm
Location: Sweden
Contact:

Re: Network send with payload

Post by riro »

Did try the broadcaster but since I want to send messages between two sessions (One console and one via RDP) on the same computer that doesn't work.

Did try to find the download for the xPL-plugin but the dl-link was broken...?
damage
Posts: 40
Joined: Thu Nov 27, 2008 6:39 pm

Re: Network send with payload

Post by damage »

fixed the dl for the xPL plugin
Post Reply