chickadee » remote-mailbox » local-mailbox

local-mailbox NAME #!optional DEBUGprocedure

This is a convenience interface and only recommended for the simplest of situations.

When NAME is:

default-remote-mailbox-server-thread
returns the thread for the default server.
default-remote-mailbox-server
returns the default server record.
<other symbol>
returns the mailbox for NAME.

The DEBUG argument is passed on to tcp-server which will print tcp diagnostics with DEBUG as a prefix. The other parameters to make-remote-mailbox-server are defaulted.

The default server is created and run in a separate thread upon the first call.

To receive remote messages:

(mailbox-receive! (local-mailbox NAME))