Next: , Previous: , Up: API Reference   [Contents][Index]


3.11 REPL Servers

Grip procedures that extend Guile’s REPL Servers. The module is loaded by entering the following:

(use-modules (grip server))

Procedures

run-server-any-port
spawn-server-any-port

Procedures

Procedure: run-server-any-port [#:port 1968]
Procedure: spawn-server-any-port [#:port 1968]

Returns two values, a port and a thread.

Starting with #:port, incremented by one at each attempt, these procedures search for the first available port value that can be used to create a server-socket, upon which they call run-server or spawn-server respectively (see REPL Servers), which create and run a REPL, making it available over the given server-socket.