|
Several of the APIs return an Idle time in milliseconds. Subtract this from the date/time of when the API ran and you have the date/time of last activity. "Beppe Costagliola" <beppecosta@yahoo To .it> "RPG programming on the AS400 / Sent by: iSeries" <rpg400-l@xxxxxxxxxxxx> rpg400-l-bounces@ cc midrange.com Subject Re: Host name in nestat 04/30/2004 02:46 AM Please respond to RPG programming on the AS400 / iSeries Thanks Bruce !! I've just another question: The same detail panel shows date/time of last activity. Currently I retrieve it from the FMRB in the DEVD. Is there an "official way" to get it ? Beppe. ----- Original Message ----- From: "Bruce Vining" <bvining@xxxxxxxxxx> To: "RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx> Sent: Thursday, April 29, 2004 10:03 PM Subject: Re: Host name in nestat > > The gethostbyaddr() function will return the host name given an internet > address. > > > > > "Beppe > Costagliola" > <beppecosta@yahoo To > .it> <rpg400-l@xxxxxxxxxxxx> > Sent by: cc > rpg400-l-bounces@ > midrange.com Subject > Host name in nestat > > 04/29/2004 09:09 > AM > > > Please respond to > RPG programming > on the AS400 / > iSeries > > > > > > > If we take the option 5 beside an entry in netstat *cnn list, we get a > panel > that shows detailed informations about this connection. > > Most of them are available from the Api QtocRtvNetCnnDta, but within the > returned data I can't see the remote host name. > > How can I get it ? > > Thanks. > Beppe. > > _______________________________________________ > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list > To post a message email: RPG400-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/rpg400-l > or email: RPG400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/rpg400-l. > > > > > _______________________________________________ > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list > To post a message email: RPG400-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/rpg400-l > or email: RPG400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/rpg400-l. _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.