9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] aan documentation
@ 2003-03-02  3:17 Scott Schwartz
  2003-03-02 16:54 ` Peter Bosch
  0 siblings, 1 reply; 3+ messages in thread
From: Scott Schwartz @ 2003-03-02  3:17 UTC (permalink / raw)
  To: 9fans

The manpage for aan says it uses a unique protocol.  Is
its operation described anywhere (other than the source)?


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] aan documentation
  2003-03-02  3:17 [9fans] aan documentation Scott Schwartz
@ 2003-03-02 16:54 ` Peter Bosch
  2003-03-02 17:13   ` Peter Bosch
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Bosch @ 2003-03-02 16:54 UTC (permalink / raw)
  To: 9fans

> The manpage for aan says it uses a unique protocol.  Is
> its operation described anywhere (other than the source)?

read the source, luke.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] aan documentation
  2003-03-02 16:54 ` Peter Bosch
@ 2003-03-02 17:13   ` Peter Bosch
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Bosch @ 2003-03-02 17:13 UTC (permalink / raw)
  To: 9fans

>> The manpage for aan says it uses a unique protocol.  Is
>> its operation described anywhere (other than the source)?
> 
> read the source, luke.

ok, that was too quick.  here's how it works.

Aan (Always Available Network) sits on both client and server and it
reads from stdin and writes to stdout on both ends.  internally, aan
keeps state of the bytes that have been exchanged between client and
server and it acknowledges the reception of data on each message that
is exchanged between the client and server (bi-directional).  in case
a (TCP) connection breaks, aan restablishes contact from the client to
the server -- the server listens on a private port for each
established connection.  if the server does not hear from a client
within a timeout (currently a 24 hours), it cleans up state on the
server side.  aan assumes the data that it ships to be encrypted.

the idea is that you can suspend your notebook without your
9P connections to die.

peter.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-03-02 17:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-02  3:17 [9fans] aan documentation Scott Schwartz
2003-03-02 16:54 ` Peter Bosch
2003-03-02 17:13   ` Peter Bosch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).