LCDproc development and user support list

Text archives Help


[lcdproc] New client


Chronological Thread 
  • From: dosowski0474 AT vax2.winona.msus.edu (dosowski0474 AT vax2.winona.msus.edu)
  • Subject: [lcdproc] New client
  • Date: Fri, 12 Feb 1999 23:36:24 -0600 (CST)

I'm working on a "who" type client. On each line, it displays a
username, where logged in from, and the tty where the user is logged in.
I'd like to have the option to use either hostname or IP address, but I'm
not quite sure on how exactly getutent() formats it. The struct it
returns contains a long value ut_addr, which is supposed to be the IP
address, but I don't know how to get the 123.123.123.123 out of that.
Any suggestions?

--
Dale Osowski
dosowski0474 AT vax2.winona.msus.edu
http://www3.winona.msus.edu/dosowski0474



-----------------------------------------------------------
To unsubscribe from this list send a blank message to
lcdproc-unsubscribe AT lists.omnipotent.net



  • [lcdproc] New client, dosowski0474 AT vax2.winona.msus.edu, 02/13/1999

Archive powered by MHonArc 2.6.18.

Top of page