HP3000-L Archives

July 1995, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Daniel Kosack <[log in to unmask]>
Reply To:
Daniel Kosack <[log in to unmask]>
Date:
Tue, 25 Jul 1995 20:32:32 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (31 lines)
On Tue, 25 Jul 1995, Jonathan Backus wrote:
 
>         If I know that a PC is being used to access a host application via a
> VT session over a LAN, can that application determine the IP address of said
> PC?  My development language options are Speedware (V7.14) and COBOL.
 
  Hmmm... don't use TCP/IP on MPE, but I would assume that you could go
into the POSIX shell and do a who command which should show the site from
which someone is logged on.  I think I remember someone saying that it's
an environment variable, but I'm not sure.  If it's an environment
variable, it would be very easy to write a UDC called by the logon UDC,
or use a system call from a program, to extract the IP address.  I think
NSCONTROL has an option which shows the IP address of open connections
(you can tell I've never used TCP/IP on MPE before).
 
>
> =========================================================================
>
>   +------------+
>   |*******|******\    Thanx,      Jonathan M. Backus
>   +----+**|**< >**|     (Jon)     15 Catawba Place
>        |**|******<                Hagerstown, MD  21742-6515
>   +-+  |**|**/ \**|
>   |**\ /**|**\ /**|   Voice: 1-301-714-0446,  Fax:    1-301-714-1854
>    \*****/|******/    Car:   1-301-667-6396,  E-mail: [log in to unmask]
>
> =========================================================================
>
 
Daniel Kosack

ATOM RSS1 RSS2