[RC5-PROXYPER] Flush Win32 service personal proxy - possible solution

Petr Novotny Petr.Novotny at antek.cz
Wed Apr 22 18:29:49 EDT 1998


Hi,

I have discussed the flushing of perproxy from other program with Jeff
Lawson some time ago. It can be done quite simply, even when the
perproxy is running in a hidden manner (NT service for example). The
program monitors the event created by the following call:
  hevFlushSem = CreateEvent(NULL, 0, 0, "RC5PROXYFLUSHSEMAPHORE"); It
means you can write a simple app which calls OpenEvent with this name
and set the event to signalled by SetEvent or PulseEvent (dunno which
one is more correct - but you may try). The program itself can be
written in any reasonable language... (It can even listen on some
dedicated TCP/IP port for a signal or look for some specific file and
as a response raise that event...)

If you don't have an autodial, you can set the limits for buffers to 
.../1 - any time it gets online, it will flush everything! And if it 
is offline, it just attempts once in a while - no big deal...

Hope this helps...

--
Petr Novotny, ANTEK CS
Petr.Novotny at antek.cz
http://www.antek.cz
-- Don't you know there ain't no devil there's just God when he's drunk.
                                                             [Tom Waits]
--
To unsubscribe, send 'unsubscribe proxyper' to majordomo at lists.distributed.net



More information about the proxyper mailing list