Re: [perl-win32-gui-users] hostname

2003-10-27 Thread Greg Pendlebury
I this goes out twice, that's my bad. Hi Sudha, Do you mean a remote computer querying the script through a socket? Is so, after you've accepted the connection (probably in a loop of some kind) with... $paddr = accept(Client, Server); ... use the following two lines at the top of the loop...

Re: [perl-win32-gui-users] File Monitoring Script

2003-10-09 Thread Greg Pendlebury
Have you thought about setting up a separate thread when the process first starts? It could do all the work and dump output into a socket or pipe. The receiving thread then just checks the socket (I have more experience there, than with pipes) occasionally for waiting input. Greg [EMAIL P