Next Prev Up Top Contents Index

start-up-server-and-mp

Function
Package

comm

Signature

start-up-server-and-mp &key function announce service process-name

Arguments

function

This keyword provides the name of the function that will be used to read the socket-stream. The default function is called make-stream-and-run-listener -- this function expects its first argument to be the name of the session, and thereafter regards the following input as a series of Lisp commands.

announce

If used, this keyword ensures that a message appears when the server is started. The value of this keyword is the stream to which the startup message is displayed.

service

The name of the service in the
/etc/services file. The default is lispworks .

process-name

The process name. The default is constructed from the service name in the following fashion: (format nil "~ S server" service)

Description

The start-up-server-and-mp function starts a TCP server, and starts multiprocessing if it has not already been started. When it is this function that starts the multiprocessing, the only processes that will be running are the server and the idle process.

Note: start-up-server-and-mp is implemented only on Unix/Linux/Mac OS platforms.

See also

open-tcp-stream
start-up-server
with-noticed-socket-stream


LispWorks Reference Manual - 25 Jul 2003

Next Prev Up Top Contents Index