Hi all,
I was wondering if anyone could help me here.
I have got a Unix Server (Solaris 8) which we access over the network from a Windows NT machine using Exceed. The Unix box has Samba installed so it is very easy to send a signal from Windows to UNIX by simply creating a dummy file which a script on the UNIX side is continually searching for (ie see the string "Automatically executing a command").
However I have absolutely no idea how I can send a signal from UNIX to Windows.
Ultimately, I would like a Windows C++ program to execute a command when a program in UNIX finishes what it is doing and sends a signal to Windows. Does anyone have any suggestions?
Thinking off the top of my head, could it be possible to somehow ping the Windows computer from UNIX with some predefined bit of data. The Windows C++ program could then be listening out for this bit of data and once it finds it, this will be the signal. If this is possible, how exactly could I set this up?
One easy way of setting this up would be for the Windows program to continually search for a dummy file on the UNIX drive. However, since we access the UNIX box via a network, I don't want to utilise unnecessary network bandwidth otherwise I might get in trouble!
Cheers
Robbie