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] hostname

2003-10-27 Thread Harlan Carvey
Win32::NodeName(); --- Sudha Natarajan <[EMAIL PROTECTED]> wrote: > How do I find the hostname of the system querying > from a PERL script ? > gethostbyname needs some argument, I'm looking for > getting this information > from any system from where I will running this. > > Many thanks in advan

[perl-win32-gui-users] hostname

2003-10-27 Thread Sudha Natarajan
How do I find the hostname of the system querying from a PERL script ? gethostbyname needs some argument, I'm looking for getting this information from any system from where I will running this. Many thanks in advance. Sudha Sudha M Natarajan CALIPSO Mission Operations Software Engineer G & A