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...
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
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
3 matches
Mail list logo