[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[JDEV] textual client, perl



In reply to your message from the not too distant future: next Tuesday AD
Reply-to: belg4mit@mit.edu
Return-receipt-to: belg4mit@mit.edu
Organization: a) Discordia b) none c) what's that?
Content-Typo: gibberish, charset=ascii-art
Date: Tue, 13 Jul 1999 14:58:29 EDT
From: belg4mit

Okay, well the modules will simplify a few things I guess.
I'm hoping/assuming you didn't reinvent the wheel and use XML::Parse?

What I was thinking of doing was this:

Have a proxy-client connect to the server and authenticate itself, then go
into the background. The user can then run a seperate process(es) to connect
to this to send messages. This saves the overhead of having to authenticate
every-time, and lends itself better to text-mode multi-tasking (screen, ^Z)
and execution from within emacs.

One question about implenting this though, is the server savvy enough to mark
the user as offline if the user doesn't explicitly send an offline message
(logs off without properly shutting down the authentication client)?

PS> For security the authentication client would probably do somehting like:
    check to see that the message came from the user with the same uid that
    started the client AND/OR
    set an env var to some magic cookie, and upon receipt of a message from
    the client check to see that it has the right cookie

PPS>where are these mythical modules, I don't see them on the developers site..

jp
--
Please take the time to answer the simple survey at:
					http://www.pthbb.org/cgi.bin/survey/
                                                  *             __    *      .
           \     |     /           .        . .           .  . ((_
               _____                       .                         .     .
          --  /     \  --           .        .      .   +    .   .     _/\
      oooooooooo.   |               * .       .   .           *       / ;M\_ .
   .oooooooooooo.oo.	              .  .    .       . /\    .      /  :IMM\
  ..oooooooooooo..oo.	Jerrad Pierce              /\  /  \         /   ;IIWMM
  ..oooooooooo.......	209 North Street     +    /  \ /  \  .     /   ;IIIIWM
  ...ooooooooo.......	Randolph, MA 02368        /  \     \  ___/   :;IIIIIWM
  ....ooo....o.......	                         /    \    \ /  ::     ;;IIIMI
   .....ooo......... 	http://www.pthbb.org     /    \     \   :     :::;IIIM
     ..ooooooo....	__________________________ ||   ||       ::.....::::::
MOTD on Prickle-Prickle, the 48th of Confusion, in the YOLD 3165:

"So little time, so little to do." --Oscar Levant