From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,54d412588ee3bf76,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1995-01-05 08:33:09 PST Path: nntp.gmd.de!Germany.EU.net!howland.reston.ans.net!news2.near.net!news.delphi.com!usenet From: Cary Lewis Newsgroups: comp.sys.dec Subject: tcp/ip: notification via ftp Date: Thu, 5 Jan 95 11:33:09 -0500 Organization: Delphi (info@delphi.com email, 800-695-4005 voice) Message-ID: NNTP-Posting-Host: bos1d.delphi.com I have the following problem: An UNIX machine (SCO or DG/UX) connected via a TCP/IP link to a VAX running VMX. These two machines will be transferring work files to each other. FTP will be the transfer method. I would like to devise a notification scheme whereby the arrival of a new work file causes the machine to kick into action. My experience is with UNIX, I have had some VMS exposure in the past. The company I am interfacing to uses the VAX strictly as a 4GL application environment. They are not familar with the low level VMS system routines. I have already thought of the following schemes: polling: periodically poll the spool directory. This is a simple but bad solution in that it wastes CPU time on both machines. run a remote program via rshell and rcmd: This works quite well but rcmd and rshell can take a long time to execute. In tests that I have done, it's taken up to 10 seconds for a simple rshell command to run. Use ftp to send a file to a named pipe: This works well for the Unix side, but ftp will hang if no process is reading the named pipe. Also I don't know if "named pipes (FIFOS)" exist in VMS. Can anyone suggest a notification scheme that consists of two processes being blocked (one on each machine) that unblock when a file is transferred, or deleted, or permissions are changed. This must be a fairly common problem and I'm sure an elegant solution exists. Any help will be appreciated. Cary Lewis