The basic-binary-ipc Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The basic-binary-ipc Reference Manual

This is the basic-binary-ipc Reference Manual, generated automatically by Declt version 2.4 "Will Decker" on Wed Jun 20 10:47:44 2018 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction

Basic Binary IPC

The basic binary IPC system provides an interface for performing inter process communication using IPv4 or local streams. The interface follows a non-blocking pattern which allows applications to communicate either synchronously or asynchronously.

The interface has been implemented for the following platforms:

The complete documentation to this system can be found in doc/basic-binary-ipc.html or online.

The only requirement for this system is CFFI.

Example

The file examples/echo-example.lisp contains an example echo server and echo client. The code for the server and client is shown below.

The echo server can be started using

(load "examples/echo-example.lisp")
(echo-example:run-server 12345)

The echo client can be executed using

(load "examples/echo-example.lisp")
(echo-example:send-to-server "Hello World" basic-binary-ipc:+ipv4-loopback+ 12345)

Server

(defun run-server (port &optional (host-address +ipv4-loopback+))
  (check-type port (unsigned-byte 16))
  (check-type host-address string)
  
  (with-socket (server (make-ipv4-tcp-server host-address port :reuse-address t))
    (loop
       :with buffer-size := 10000
       :with buffer := (make-array buffer-size :element-type '(unsigned-byte 8))       
       :for result := (poll-socket server 'connection-available-p 10)
       :when result
       :do
       (with-socket (client (accept-connection server))
         (loop
            :for attempts :from 0 :below 3
            :for data-available := (poll-socket client 'data-available-p 10)
            :when data-available
            :do
            (let ((bytes-read (read-from-stream client buffer)))
              (write-to-stream client buffer :end bytes-read)))))))

Client

(defun send-to-server (string host-address port)
  (check-type string string)
  (check-type host-address string)
  (check-type port (unsigned-byte 16))
  
  (with-socket (client (connect-to-ipv4-tcp-server host-address port))
    (unless (poll-socket client 'connection-succeeded-p 10)
      (error "Failed to connect to address ~A:~d" host-address port))

    (write-to-stream client (babel:string-to-octets string))
    
    (loop
       :for attempts :from 0 :below 3
       :for data-available := (poll-socket client 'data-available-p 10)
       :until data-available
       :finally (unless data-available
                  (error "Echo server not working.")))
    
    (let* ((buffer (make-array 100000 :element-type '(unsigned-byte 8)))
           (bytes-read (read-from-stream client buffer)))
      (babel:octets-to-string buffer :end bytes-read))))

Next: , Previous: , Up: Top   [Contents][Index]

2 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

2.1 basic-binary-ipc

Author

Mark Cox

License

Simplified BSD License variant

Description

A inter-process communication library for transmitting binary data over a stream.

Dependency

cffi-grovel

Source

basic-binary-ipc.asd (file)

Components

Next: , Previous: , Up: Top   [Contents][Index]

3 Modules

Modules are listed depth-first from the system components tree.


Next: , Previous: , Up: Modules   [Contents][Index]

3.1 basic-binary-ipc/src

Parent

basic-binary-ipc (system)

Location

src/

Components

Next: , Previous: , Up: Modules   [Contents][Index]

3.2 basic-binary-ipc/src/posix

Dependency

src (module)

Parent

basic-binary-ipc (system)

Location

src/

Components

Previous: , Up: Modules   [Contents][Index]

3.3 basic-binary-ipc/src/epoll

Dependency

src/posix (module)

Parent

basic-binary-ipc (system)

Location

src/

Components

Next: , Previous: , Up: Top   [Contents][Index]

4 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

4.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.1 basic-binary-ipc.asd

Location

basic-binary-ipc.asd

Systems

basic-binary-ipc (system)


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.2 basic-binary-ipc/src/packages.lisp

Parent

src (module)

Location

src/packages.lisp

Packages

basic-binary-ipc


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.3 basic-binary-ipc/src/protocols.lisp

Dependency

packages.lisp (file)

Parent

src (module)

Location

src/protocols.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.4 basic-binary-ipc/src/system-calls.lisp

Dependency

protocols.lisp (file)

Parent

src (module)

Location

src/system-calls.lisp

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.5 basic-binary-ipc/src/posix/posix-helpers.lisp

Parent

src/posix (module)

Location

src/posix-helpers.lisp

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.6 basic-binary-ipc/src/posix/posix-grovel.lisp

Dependency

posix-helpers.lisp (file)

Parent

src/posix (module)

Location

src/posix-grovel.lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.7 basic-binary-ipc/src/posix/posix-cffi.lisp

Dependency

posix-grovel.lisp (file)

Parent

src/posix (module)

Location

src/posix-cffi.lisp

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.8 basic-binary-ipc/src/posix/posix-socket-options.lisp

Dependency

posix-cffi.lisp (file)

Parent

src/posix (module)

Location

src/posix-socket-options.lisp

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.9 basic-binary-ipc/src/posix/posix-sockets.lisp

Dependency

posix-socket-options.lisp (file)

Parent

src/posix (module)

Location

src/posix-sockets.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.10 basic-binary-ipc/src/posix/posix-poll.lisp

Dependency

posix-sockets.lisp (file)

Parent

src/posix (module)

Location

src/posix-poll.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.11 basic-binary-ipc/src/epoll/epoll-grovel.lisp

Parent

src/epoll (module)

Location

src/epoll-grovel.lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.12 basic-binary-ipc/src/epoll/epoll-cffi.lisp

Dependency

epoll-grovel.lisp (file)

Parent

src/epoll (module)

Location

src/epoll-cffi.lisp

Internal Definitions

Previous: , Up: Lisp files   [Contents][Index]

4.1.13 basic-binary-ipc/src/epoll/epoll-poller.lisp

Dependency

epoll-cffi.lisp (file)

Parent

src/epoll (module)

Location

src/epoll-poller.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

5 Packages

Packages are listed by definition order.


Previous: , Up: Packages   [Contents][Index]

5.1 basic-binary-ipc

Source

packages.lisp (file)

Use List

common-lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

6 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

6.1 Exported definitions


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.1 Special variables

Special Variable: +ipv4-any+
Package

basic-binary-ipc

Source

posix-sockets.lisp (file)

Special Variable: +ipv4-loopback+
Package

basic-binary-ipc

Source

posix-sockets.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.2 Macros

Macro: with-poller (VAR FORM) &body BODY
Package

basic-binary-ipc

Source

protocols.lisp (file)

Macro: with-socket (VAR FORM) &body BODY
Package

basic-binary-ipc

Source

protocols.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.3 Functions

Function: connect-to-ipv4-tcp-server HOST-ADDRESS PORT &key LOCAL-HOST-ADDRESS LOCAL-PORT
Package

basic-binary-ipc

Source

posix-sockets.lisp (file)

Function: connect-to-local-server PATHNAME &key
Package

basic-binary-ipc

Source

posix-sockets.lisp (file)

Function: do-with-poller FUNCTION POLLER
Package

basic-binary-ipc

Source

protocols.lisp (file)

Function: do-with-socket SOCKET FUNCTION
Package

basic-binary-ipc

Source

protocols.lisp (file)

Function: make-ipv4-tcp-server HOST-ADDRESS PORT &key REUSE-ADDRESS BACKLOG
Package

basic-binary-ipc

Source

posix-sockets.lisp (file)

Function: make-local-server PATHNAME &key BACKLOG DELETE-ON-CLOSE
Package

basic-binary-ipc

Source

posix-sockets.lisp (file)

Function: make-poller ()
Package

basic-binary-ipc

Source

epoll-poller.lisp (file)

Function: resolve-ipv4-address HOSTNAME
Package

basic-binary-ipc

Source

posix-sockets.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.4 Generic functions

Generic Function: accept-connection SERVER
Package

basic-binary-ipc

Source

protocols.lisp (file)

Methods
Method: accept-connection (SERVER local-server)
Source

posix-sockets.lisp (file)

Method: accept-connection (SERVER ipv4-tcp-server)
Source

posix-sockets.lisp (file)

Generic Function: close-poller POLLER
Package

basic-binary-ipc

Source

protocols.lisp (file)

Methods
Method: close-poller (POLLER epoll-poller)
Source

epoll-poller.lisp (file)

Generic Function: close-socket SOCKET
Package

basic-binary-ipc

Source

protocols.lisp (file)

Methods
Method: close-socket (SOCKET local-server)
Source

posix-sockets.lisp (file)

Method: close-socket (OBJECT posix-stream-server)
Source

posix-sockets.lisp (file)

Method: close-socket (SOCKET failed-posix-stream)
Source

posix-sockets.lisp (file)

Method: close-socket (OBJECT posix-stream)
Source

posix-sockets.lisp (file)

Method: close-socket (SOCKET posix-socket)
Source

posix-sockets.lisp (file)

Generic Function: connection-available-p SERVER
Package

basic-binary-ipc

Source

protocols.lisp (file)

Methods
Method: connection-available-p (SERVER local-server)
Source

posix-sockets.lisp (file)

Method: connection-available-p (SERVER ipv4-tcp-server)
Source

posix-sockets.lisp (file)

Generic Function: connection-failed-p STREAM-SOCKET
Package

basic-binary-ipc

Source

protocols.lisp (file)

Methods
Method: connection-failed-p (SOCKET-STREAM failed-posix-stream)
Source

posix-sockets.lisp (file)

Method: connection-failed-p (FUTURE-CONNECTION posix-stream)
Source

posix-sockets.lisp (file)

Generic Function: connection-succeeded-p STREAM-SOCKET
Package

basic-binary-ipc

Source

protocols.lisp (file)

Methods
Method: connection-succeeded-p (SOCKET-STREAM failed-posix-stream)
Source

posix-sockets.lisp (file)

Method: connection-succeeded-p (FUTURE-CONNECTION posix-stream)
Source

posix-sockets.lisp (file)

Generic Function: data-available-p STREAM-SOCKET
Package

basic-binary-ipc

Source

protocols.lisp (file)

Methods
Method: data-available-p (SOCKET-STREAM failed-posix-stream)
Source

posix-sockets.lisp (file)

Method: data-available-p (STREAM posix-stream)
Source

posix-sockets.lisp (file)

Generic Function: determinedp STREAM-SOCKET
Package

basic-binary-ipc

Source

protocols.lisp (file)

Methods
Method: determinedp (SOCKET-STREAM failed-posix-stream)
Source

posix-sockets.lisp (file)

Method: determinedp (FUTURE-CONNECTION posix-stream)
Source

posix-sockets.lisp (file)

Generic Function: host-address SERVER
Package

basic-binary-ipc

Source

protocols.lisp (file)

Methods
Method: host-address (IPV4-TCP-SERVER ipv4-tcp-server)

automatically generated reader method

Source

posix-sockets.lisp (file)

Generic Function: local-host-address STREAM
Package

basic-binary-ipc

Source

protocols.lisp (file)

Methods
Method: local-host-address (IPV4-TCP-STREAM ipv4-tcp-stream)

automatically generated reader method

Source

posix-sockets.lisp (file)

Generic Function: local-pathname SOCKET

The pathname to the local socket.

Package

basic-binary-ipc

Source

posix-sockets.lisp (file)

Methods
Method: local-pathname (CONDITION no-local-server-error)
Method: local-pathname (LOCAL-SERVER local-server)

automatically generated reader method

Method: local-pathname (LOCAL-STREAM local-stream)

automatically generated reader method

Generic Function: local-port STREAM
Package

basic-binary-ipc

Source

protocols.lisp (file)

Methods
Method: local-port (IPV4-TCP-STREAM ipv4-tcp-stream)

automatically generated reader method

Source

posix-sockets.lisp (file)

Generic Function: monitor-socket POLLER SOCKET SOCKET-EVENTS
Package

basic-binary-ipc

Source

protocols.lisp (file)

Methods
Method: monitor-socket (POLLER epoll-poller) SOCKET SOCKET-EVENTS
Source

epoll-poller.lisp (file)

Generic Function: monitored-events POLLER SOCKET
Generic Function: (setf monitored-events) VALUE POLLER SOCKET
Package

basic-binary-ipc

Source

protocols.lisp (file)

Methods
Method: monitored-events (POLLER epoll-poller) SOCKET
Method: (setf monitored-events) VALUE (POLLER epoll-poller) SOCKET
Source

epoll-poller.lisp (file)

Generic Function: monitored-sockets POLLER
Package

basic-binary-ipc

Source

protocols.lisp (file)

Generic Function: poll-socket SOCKET SOCKET-EVENTS TIMEOUT
Package

basic-binary-ipc

Source

protocols.lisp (file)

Methods
Method: poll-socket SOCKET SOCKET-EVENTS TIMEOUT
Source

posix-poll.lisp (file)

Generic Function: poll-sockets ALL-SOCKETS ALL-SOCKET-EVENTS TIMEOUT
Package

basic-binary-ipc

Source

protocols.lisp (file)

Methods
Method: poll-sockets (ALL-SOCKETS list) (ALL-SOCKET-EVENTS list) TIMEOUT
Source

posix-poll.lisp (file)

Generic Function: port SERVER
Package

basic-binary-ipc

Source

protocols.lisp (file)

Methods
Method: port (IPV4-TCP-SERVER ipv4-tcp-server)

automatically generated reader method

Source

posix-sockets.lisp (file)

Generic Function: read-from-stream STREAM-SOCKET BUFFER &key START END PEEK
Package

basic-binary-ipc

Source

protocols.lisp (file)

Methods
Method: read-from-stream (STREAM posix-stream) BUFFER &key START END PEEK
Source

posix-sockets.lisp (file)

Generic Function: ready-to-write-p STREAM-SOCKET
Package

basic-binary-ipc

Source

protocols.lisp (file)

Methods
Method: ready-to-write-p (STREAM posix-stream)
Source

posix-sockets.lisp (file)

Generic Function: remote-disconnected-p STREAM-SOCKET
Package

basic-binary-ipc

Source

protocols.lisp (file)

Methods
Method: remote-disconnected-p (STREAM posix-stream)
Source

posix-sockets.lisp (file)

Generic Function: remote-host-address STREAM
Package

basic-binary-ipc

Source

protocols.lisp (file)

Methods
Method: remote-host-address (FAILED-IPV4-TCP-STREAM failed-ipv4-tcp-stream)

automatically generated reader method

Source

posix-sockets.lisp (file)

Method: remote-host-address (IPV4-TCP-STREAM ipv4-tcp-stream)

automatically generated reader method

Source

posix-sockets.lisp (file)

Generic Function: remote-port STREAM
Package

basic-binary-ipc

Source

protocols.lisp (file)

Methods
Method: remote-port (FAILED-IPV4-TCP-STREAM failed-ipv4-tcp-stream)

automatically generated reader method

Source

posix-sockets.lisp (file)

Method: remote-port (IPV4-TCP-STREAM ipv4-tcp-stream)

automatically generated reader method

Source

posix-sockets.lisp (file)

Generic Function: socket OBJECT

Return the POSIX-SOCKET object used by OBJECT.

Package

basic-binary-ipc

Source

posix-sockets.lisp (file)

Methods
Method: socket (CONDITION poll-socket-error)
Source

posix-poll.lisp (file)

Method: socket (POSIX-STREAM-SERVER posix-stream-server)

automatically generated reader method

Method: socket (FAILED-POSIX-STREAM failed-posix-stream)

automatically generated reader method

Method: socket (POSIX-STREAM posix-stream)

automatically generated reader method

Method: socket (CONDITION no-connection-available-error)
Source

protocols.lisp (file)

Method: socket (CONDITION socket-error)
Source

protocols.lisp (file)

Generic Function: socket-closed-p SOCKET
Package

basic-binary-ipc

Source

protocols.lisp (file)

Methods
Method: socket-closed-p (SOCKET posix-stream-server)
Source

posix-sockets.lisp (file)

Method: socket-closed-p (SOCKET posix-stream)
Source

posix-sockets.lisp (file)

Method: socket-closed-p (POSIX-SOCKET posix-socket)

automatically generated reader method

Source

posix-sockets.lisp (file)

Generic Function: unmonitor-socket POLLER SOCKET
Package

basic-binary-ipc

Source

protocols.lisp (file)

Methods
Method: unmonitor-socket (POLLER epoll-poller) SOCKET
Source

epoll-poller.lisp (file)

Generic Function: wait-for-events POLLER TIMEOUT
Package

basic-binary-ipc

Source

protocols.lisp (file)

Methods
Method: wait-for-events (POLLER epoll-poller) TIMEOUT
Source

epoll-poller.lisp (file)

Generic Function: write-to-stream STREAM-SOCKET BUFFER &key START END
Package

basic-binary-ipc

Source

protocols.lisp (file)

Methods
Method: write-to-stream (STREAM posix-stream) BUFFER &key START END
Source

posix-sockets.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.5 Conditions

Condition: no-connection-available-error ()
Package

basic-binary-ipc

Source

protocols.lisp (file)

Direct superclasses

error (condition)

Direct methods

socket (method)

Direct slots
Slot: socket
Initargs

:socket

Readers

socket (generic function)

Condition: no-local-server-error ()
Package

basic-binary-ipc

Source

posix-sockets.lisp (file)

Direct superclasses

condition (condition)

Direct methods

local-pathname (method)

Direct slots
Slot: local-pathname
Initargs

:local-pathname

Readers

local-pathname (generic function)

Condition: socket-error ()
Package

basic-binary-ipc

Source

protocols.lisp (file)

Direct superclasses

error (condition)

Direct subclasses

posix-error (condition)

Direct methods

socket (method)

Direct slots
Slot: socket
Initargs

:socket

Readers

socket (generic function)


Previous: , Up: Exported definitions   [Contents][Index]

6.1.6 Classes

Class: ipv4-tcp-server ()
Package

basic-binary-ipc

Source

posix-sockets.lisp (file)

Direct superclasses

posix-stream-server (class)

Direct methods
Direct slots
Slot: host-address
Initargs

:host-address

Readers

host-address (generic function)

Slot: port
Initargs

:port

Readers

port (generic function)

Class: ipv4-tcp-stream ()
Package

basic-binary-ipc

Source

posix-sockets.lisp (file)

Direct superclasses

posix-stream (class)

Direct methods
Direct slots
Slot: remote-host-address
Initargs

:remote-host-address

Readers

remote-host-address (generic function)

Slot: remote-port
Initargs

:remote-port

Readers

remote-port (generic function)

Slot: local-host-address
Initargs

:local-host-address

Readers

local-host-address (generic function)

Slot: local-port
Initargs

:local-port

Readers

local-port (generic function)

Class: local-server ()
Package

basic-binary-ipc

Source

posix-sockets.lisp (file)

Direct superclasses

posix-stream-server (class)

Direct methods
Direct slots
Slot: local-pathname
Initargs

:local-pathname

Readers

local-pathname (generic function)

Slot: delete-on-close-p
Initargs

:delete-on-close-p

Readers

delete-on-close-p (generic function)

Class: local-stream ()
Package

basic-binary-ipc

Source

posix-sockets.lisp (file)

Direct superclasses

posix-stream (class)

Direct methods
Direct slots
Slot: local-pathname
Initargs

:local-pathname

Readers

local-pathname (generic function)

Class: socket ()
Package

basic-binary-ipc

Source

protocols.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses
Class: stream-server ()
Package

basic-binary-ipc

Source

protocols.lisp (file)

Direct superclasses

socket (class)

Direct subclasses

posix-stream-server (class)

Class: stream-socket ()
Package

basic-binary-ipc

Source

protocols.lisp (file)

Direct superclasses

socket (class)

Direct subclasses

Previous: , Up: Definitions   [Contents][Index]

6.2 Internal definitions


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.1 Constants

Constant: ai-addrconfig
Package

basic-binary-ipc

Source

/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file

Constant: ai-all
Package

basic-binary-ipc

Source

/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file

Constant: ai-canonname
Package

basic-binary-ipc

Source

/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file

Constant: ai-numerichost
Package

basic-binary-ipc

Source

/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file

Constant: ai-numericserv
Package

basic-binary-ipc

Source

/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file

Constant: ai-passive
Package

basic-binary-ipc

Source

/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file

Constant: ai-v4mapped
Package

basic-binary-ipc

Source

/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file

Constant: inaddr-any
Package

basic-binary-ipc

Source

/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file

Constant: inaddr-broadcast
Package

basic-binary-ipc

Source

/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file

Constant: inaddr-loopback
Package

basic-binary-ipc

Source

/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file

Constant: inaddr-none
Package

basic-binary-ipc

Source

/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file

Constant: msg-dontroute
Package

basic-binary-ipc

Source

/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file

Constant: msg-oob
Package

basic-binary-ipc

Source

/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file

Constant: msg-peek
Package

basic-binary-ipc

Source

/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file

Constant: msg-waitall
Package

basic-binary-ipc

Source

/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file

Constant: o-nonblock
Package

basic-binary-ipc

Source

/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file

Constant: pollerr
Package

basic-binary-ipc

Source

/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file

Constant: pollhup
Package

basic-binary-ipc

Source

/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file

Constant: pollin
Package

basic-binary-ipc

Source

/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file

Constant: pollnval
Package

basic-binary-ipc

Source

/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file

Constant: pollout
Package

basic-binary-ipc

Source

/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file

Constant: pollpri
Package

basic-binary-ipc

Source

/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file

Constant: pollrdband
Package

basic-binary-ipc

Source

/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file

Constant: pollrdnorm
Package

basic-binary-ipc

Source

/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file

Constant: pollwrband
Package

basic-binary-ipc

Source

/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file

Constant: pollwrnorm
Package

basic-binary-ipc

Source

/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file

Constant: size-of-addrinfo
Package

basic-binary-ipc

Source

/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file

Constant: size-of-epoll-event
Package

basic-binary-ipc

Source

/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/epoll-grovel.processed-grovel-file

Constant: size-of-in-addr
Package

basic-binary-ipc

Source

/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file

Constant: size-of-nfds-t
Package

basic-binary-ipc

Source

/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file

Constant: size-of-pollfd
Package

basic-binary-ipc

Source

/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file

Constant: size-of-sa-family-t
Package

basic-binary-ipc

Source

/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file

Constant: size-of-size-t
Package

basic-binary-ipc

Source

/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file

Constant: size-of-sockaddr-in
Package

basic-binary-ipc

Source

/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file

Constant: size-of-sockaddr-un
Package

basic-binary-ipc

Source

/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file

Constant: size-of-socklen-t
Package

basic-binary-ipc

Source

/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.2 Macros

Macro: define-check-system-call NAME (CALLER FOREIGN-NAME RETURN-VALUE &rest ARGS) &body BODY
Package

basic-binary-ipc

Source

system-calls.lisp (file)

Macro: define-epoll-event NAME &body BODY
Package

basic-binary-ipc

Source

epoll-poller.lisp (file)

Macro: define-poll-fd-event NAME &body BODY

Provide implementations for COMPUTE-POLL-FD-EVENTS and PARSE-POLL-FD-EVENTS for the poll-fd event macro NAME. BODY consists of expressions starting with :CLASSES, :INPUT or :TEST.

(:CLASSES <class1> ... <class N>) represents the classes in which this event macro should be defined.

(:INPUT <input1> <input2>) are the events that poll(2) should look for.

(:TEST <expression>) is an expression that determines if the event occurred.

Package

basic-binary-ipc

Source

posix-poll.lisp (file)

Macro: define-poll-fd-event-errors &body BODY

A symbol macro for declaraing the messages that are to be used when PARSE-POLL-FD-RESULT encounters an event that represents a socket error. BODY is a collection (event-symbol message) forms.

Package

basic-binary-ipc

Source

posix-poll.lisp (file)

Macro: define-posix-system-call NAME RETURN-VALUE &body ARGUMENTS
Package

basic-binary-ipc

Source

posix-helpers.lisp (file)

Macro: define-socket-option (NAME SOCKET-OPTION-NAME SOCKET-OPTION-ARGUMENT) &rest ARGS &key LEVEL
Package

basic-binary-ipc

Source

posix-socket-options.lisp (file)

Macro: define-socket-option-argument NAME &body OPTIONS
Package

basic-binary-ipc

Source

posix-socket-options.lisp (file)

Macro: define-system-call NAME-AND-OPTIONS RETURN-TYPE-INFO &body ARGS
Package

basic-binary-ipc

Source

system-calls.lisp (file)

Macro: posix-socket-initialisation-progn (SOCKET) &body BODY
Package

basic-binary-ipc

Source

posix-sockets.lisp (file)

Macro: with-sockaddr-in (VAR FAMILY HOST-ADDRESS PORT) &body BODY
Package

basic-binary-ipc

Source

posix-sockets.lisp (file)

Macro: with-sockaddr-un (PTR-VAR LENGTH-VAR PATHNAME) &body BODY
Package

basic-binary-ipc

Source

posix-sockets.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.3 Functions

Function: %ff-accept SOCKET ADDRESS ADDRESS-LEN
Package

basic-binary-ipc

Source

posix-cffi.lisp (file)

Function: %ff-bind SOCKET SOCKET-ADDRESS SOCKET-ADDRESS-LENGTH
Package

basic-binary-ipc

Source

posix-cffi.lisp (file)

Function: %ff-close FILE-DESCRIPTOR
Package

basic-binary-ipc

Source

posix-cffi.lisp (file)

Function: %ff-connect SOCKET ADDRESS ADDRESS-LEN
Package

basic-binary-ipc

Source

posix-cffi.lisp (file)

Function: %ff-epoll-create SIZE
Package

basic-binary-ipc

Source

epoll-cffi.lisp (file)

Function: %ff-epoll-ctl EPFD OP FD EVENT
Package

basic-binary-ipc

Source

epoll-cffi.lisp (file)

Function: %ff-epoll-wait EPFD EVENTS MAXEVENTS TIMEOUT
Package

basic-binary-ipc

Source

epoll-cffi.lisp (file)

Function: %ff-fcntl-noarg FILE-DESCRIPTOR COMMAND
Package

basic-binary-ipc

Source

posix-cffi.lisp (file)

Function: %ff-fcntl-setfl FILE-DESCRIPTOR COMMAND MODE
Package

basic-binary-ipc

Source

posix-cffi.lisp (file)

Function: %ff-freeaddrinfo ADDRESS-INFO
Package

basic-binary-ipc

Source

posix-cffi.lisp (file)

Function: %ff-gai-strerror CODE
Package

basic-binary-ipc

Source

posix-cffi.lisp (file)

Function: %ff-get-errno ()
Package

basic-binary-ipc

Source

posix-helpers.lisp (file)

Function: %ff-get-errno-pointer ()
Package

basic-binary-ipc

Source

posix-helpers.lisp (file)

Function: %ff-getaddrinfo HOSTNAME SERVICE-NAME HINTS RESULT
Package

basic-binary-ipc

Source

posix-cffi.lisp (file)

Function: %ff-getsockname SOCKET ADDRESS ADDRESS-LENGTH
Package

basic-binary-ipc

Source

posix-cffi.lisp (file)

Function: %ff-getsockopt SOCKET LEVEL OPTION-NAME OPTION-VALUE OPTION-LENGTH
Package

basic-binary-ipc

Source

posix-cffi.lisp (file)

Function: %ff-htons HOST-SHORT
Package

basic-binary-ipc

Source

posix-cffi.lisp (file)

Function: %ff-inet-aton NAME ADDR
Package

basic-binary-ipc

Source

posix-cffi.lisp (file)

Function: %ff-inet-ntoa ADDR
Package

basic-binary-ipc

Source

posix-cffi.lisp (file)

Function: %ff-listen SOCKET BACKLOG
Package

basic-binary-ipc

Source

posix-cffi.lisp (file)

Function: %ff-ntohl NETWORK-LONG
Package

basic-binary-ipc

Source

posix-cffi.lisp (file)

Function: %ff-ntohs NETWORK-SHORT
Package

basic-binary-ipc

Source

posix-cffi.lisp (file)

Function: %ff-poll FDS NFDS TIMEOUT
Package

basic-binary-ipc

Source

posix-cffi.lisp (file)

Function: %ff-recvfrom SOCKET BUFFER LENGTH FLAGS ADDRESS ADDRESS-LEN
Package

basic-binary-ipc

Source

posix-cffi.lisp (file)

Function: %ff-sendto SOCKET BUFFER LENGTH FLAGS DEST-ADDR DEST-LEN
Package

basic-binary-ipc

Source

posix-cffi.lisp (file)

Function: %ff-setsockopt SOCKET LEVEL OPTION-NAME OPTION-VALUE OPTION-LENGTH
Package

basic-binary-ipc

Source

posix-cffi.lisp (file)

Function: %ff-socket DOMAIN TYPE PROTOCOL
Package

basic-binary-ipc

Source

posix-cffi.lisp (file)

Function: %ff-strerror ERRNUM BUFFER BUFFER-SIZE
Package

basic-binary-ipc

Source

posix-helpers.lisp (file)

Function: check-posix CALLER FOREIGN-NAME RETURN-VALUE
Package

basic-binary-ipc

Source

posix-helpers.lisp (file)

Function: compilable-poll-fd-event-expression EXPRESSION
Package

basic-binary-ipc

Source

posix-poll.lisp (file)

Function: compile-poll-fd-event-expression EXPRESSION
Package

basic-binary-ipc

Source

posix-poll.lisp (file)

Function: do-define-socket-option/reader NAME SOCKET-OPTION-NAME SOCKET-OPTION-ARGUMENT &key LEVEL
Package

basic-binary-ipc

Source

posix-socket-options.lisp (file)

Function: do-define-socket-option/writer NAME SOCKET-OPTION-NAME SOCKET-OPTION-ARGUMENT &key LEVEL
Package

basic-binary-ipc

Source

posix-socket-options.lisp (file)

Function: do-with-sockaddr-in FUNCTION FAMILY HOST-ADDRESS PORT
Package

basic-binary-ipc

Source

posix-sockets.lisp (file)

Function: do-with-sockaddr-un FUNCTION PATHNAME
Package

basic-binary-ipc

Source

posix-sockets.lisp (file)

Function: ensure-epoll-event-data NAME EVENTS TEST-FUNCTION
Package

basic-binary-ipc

Source

epoll-poller.lisp (file)

Function: ensure-socket-option-argument NAME &key BASE-TYPE
Package

basic-binary-ipc

Source

posix-socket-options.lisp (file)

Function: epoll-event-data SYMBOL
Function: (setf epoll-event-data) VALUE SYMBOL
Package

basic-binary-ipc

Source

epoll-poller.lisp (file)

Function: errnum-symbol ERRNUM

Map the error with integer ERRNUM to a symbol from the grovelled ERRNO-ENUM type.

Package

basic-binary-ipc

Source

posix-helpers.lisp (file)

Function: host-address-from-inaddr IN-ADDR
Package

basic-binary-ipc

Source

posix-sockets.lisp (file)

Function: host-address-from-sockaddr-in SOCKADDR-IN
Package

basic-binary-ipc

Source

posix-sockets.lisp (file)

Function: make-posix-socket NAMESPACE COMMUNICATION-STYLE PROTOCOL
Package

basic-binary-ipc

Source

posix-sockets.lisp (file)

Function: poll-fd-event-test EXPRESSION EVENTS SOCKET
Package

basic-binary-ipc

Source

posix-poll.lisp (file)

Function: poll-fd-event-test/sexp EXPRESSION EVENTS SOCKET
Package

basic-binary-ipc

Source

posix-poll.lisp (file)

Function: port-from-sockaddr-in SOCKADDR-IN
Package

basic-binary-ipc

Source

posix-sockets.lisp (file)

Function: posix-error-code CONDITION
Package

basic-binary-ipc

Source

posix-helpers.lisp (file)

Function: posix-error-code-p CONDITION CODE
Package

basic-binary-ipc

Source

posix-helpers.lisp (file)

Function: posix-error-interrupted-p CONDITION
Package

basic-binary-ipc

Source

posix-helpers.lisp (file)

Function: posix-error-would-block-p CONDITION

The predicate POSIX-ERROR-WOULD-BLOCK-P handles the potential sitation where EAGAIN and EWOULDBLOCK are defined to be the same ERRNO constant (this is true on OSX). This causes difficulties with the mapping between error codes and keywords in the enum ERRNO-ENUM.

Package

basic-binary-ipc

Source

posix-sockets.lisp (file)

Function: prepare-epoll-event-test-function SEXP
Package

basic-binary-ipc

Source

epoll-poller.lisp (file)

Function: prepare-epoll-event-test-function/expander SEXP EVENTS-VAR SOCKET-VAR
Package

basic-binary-ipc

Source

epoll-poller.lisp (file)

Function: process-events POLLER EVENTS NUMBER-OF-EVENTS
Package

basic-binary-ipc

Source

epoll-poller.lisp (file)

Function: socket-option-argument SYMBOL
Function: (setf socket-option-argument) VALUE SYMBOL
Package

basic-binary-ipc

Source

posix-socket-options.lisp (file)

Function: strerror ERRNUM

Obtain the POSIX error string for the error with integer ERRNUM.

Package

basic-binary-ipc

Source

posix-helpers.lisp (file)

Function: zero-memory POINTER CFFI-TYPE
Package

basic-binary-ipc

Source

posix-helpers.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.4 Generic functions

Generic Function: c-function-name OBJECT

The name of the foreign function that signalled the posix error.

Package

basic-binary-ipc

Source

posix-helpers.lisp (file)

Generic Function: closedp OBJECT
Generic Function: (setf closedp) NEW-VALUE OBJECT
Package

basic-binary-ipc

Methods
Method: closedp (EPOLL-POLLER epoll-poller)

automatically generated reader method

Source

epoll-poller.lisp (file)

Method: (setf closedp) NEW-VALUE (EPOLL-POLLER epoll-poller)

automatically generated writer method

Source

epoll-poller.lisp (file)

Generic Function: communication-style POSIX-SOCKET

Return the posix communication style used by the POSIX-SOCKET.

Package

basic-binary-ipc

Source

posix-sockets.lisp (file)

Methods
Method: communication-style (POSIX-SOCKET posix-socket)

automatically generated reader method

Generic Function: compute-poll-fd-events SOCKET SOCKET-EVENTS

Return the list of POLL-EVENTS symbols required for
the events field in the pollfd structure. SOCKET-EVENTS can be a single symbol or a list of symbols that represent events that can be detected using poll(2).

Package

basic-binary-ipc

Source

posix-poll.lisp (file)

Methods
Method: compute-poll-fd-events (SOCKET failed-posix-stream) SOCKET-EVENTS
Method: compute-poll-fd-events (OBJECT posix-stream) (SOCKET-EVENTS (eql remote-disconnected-p))
Method: compute-poll-fd-events (OBJECT posix-stream) (SOCKET-EVENTS (eql ready-to-write-p))
Method: compute-poll-fd-events (OBJECT posix-stream) (SOCKET-EVENTS (eql data-available-p))
Method: compute-poll-fd-events (OBJECT posix-stream) (SOCKET-EVENTS (eql connection-succeeded-p))
Method: compute-poll-fd-events (OBJECT posix-stream) (SOCKET-EVENTS (eql connection-failed-p))
Method: compute-poll-fd-events (OBJECT posix-stream) (SOCKET-EVENTS (eql determinedp))
Method: compute-poll-fd-events (OBJECT local-server) (SOCKET-EVENTS (eql connection-available-p))
Method: compute-poll-fd-events (OBJECT ipv4-tcp-server) (SOCKET-EVENTS (eql connection-available-p))
Method: compute-poll-fd-events SOCKET (SOCKET-EVENTS list)
Generic Function: connection-stream STREAM-SOCKET
Package

basic-binary-ipc

Source

protocols.lisp (file)

Generic Function: delete-on-close-p SOCKET

Delete the pathname when closing the socket.

Package

basic-binary-ipc

Source

posix-sockets.lisp (file)

Methods
Method: delete-on-close-p (LOCAL-SERVER local-server)

automatically generated reader method

Generic Function: descriptor-socket-table OBJECT

A table mapping file descriptors to socket objects.

Package

basic-binary-ipc

Source

epoll-poller.lisp (file)

Methods
Method: descriptor-socket-table (EPOLL-POLLER epoll-poller)

automatically generated reader method

Generic Function: epoll-descriptor OBJECT

The descriptor for the EPOLL object.

Package

basic-binary-ipc

Source

epoll-poller.lisp (file)

Methods
Method: epoll-descriptor (EPOLL-POLLER epoll-poller)

automatically generated reader method

Generic Function: epoll-events OBJECT

Return the list of events required for epoll to notify when the event OBJECT occurs.

Package

basic-binary-ipc

Source

epoll-poller.lisp (file)

Methods
Method: epoll-events (OBJECT symbol)
Method: epoll-events (EPOLL-EVENT-DATA epoll-event-data)

automatically generated reader method

Generic Function: epoll-match-p OBJECT EVENTS SOCKET

Inspect EVENTS and SOCKET to see if the OBJECT event has occurred.

Package

basic-binary-ipc

Source

epoll-poller.lisp (file)

Methods
Method: epoll-match-p (OBJECT symbol) EVENTS SOCKET
Method: epoll-match-p (OBJECT epoll-event-data) EVENTS SOCKET
Generic Function: file-descriptor OBJECT

Return the file descriptor of the object.

Package

basic-binary-ipc

Source

posix-sockets.lisp (file)

Methods
Method: file-descriptor (OBJECT posix-stream-server)
Method: file-descriptor (OBJECT failed-posix-stream)
Method: file-descriptor (OBJECT posix-stream)
Method: file-descriptor (POSIX-SOCKET posix-socket)

automatically generated reader method

Generic Function: keep-alive-p OBJECT
Generic Function: (setf keep-alive-p) VALUE OBJECT
Package

basic-binary-ipc

Methods
Method: keep-alive-p (OBJECT posix-socket)
Method: (setf keep-alive-p) VALUE (OBJECT posix-socket)
Source

posix-sockets.lisp (file)

Generic Function: lisp-function-name OBJECT

The name of the LISP function that wraps the foreign posix function.

Package

basic-binary-ipc

Source

posix-helpers.lisp (file)

Generic Function: maximum-number-of-events OBJECT

The maximum number of events to retrieve when invoking epoll_wait.

Package

basic-binary-ipc

Source

epoll-poller.lisp (file)

Methods
Method: maximum-number-of-events (EPOLL-POLLER epoll-poller)

automatically generated reader method

Generic Function: message CONDITION
Package

basic-binary-ipc

Methods
Method: message (CONDITION poll-socket-error)
Source

posix-poll.lisp (file)

Generic Function: monitor-table OBJECT

A table mapping sockets to epoll poller specific information.

Package

basic-binary-ipc

Source

epoll-poller.lisp (file)

Methods
Method: monitor-table (EPOLL-POLLER epoll-poller)

automatically generated reader method

Generic Function: monitoredp POLLER SOCKET
Package

basic-binary-ipc

Source

protocols.lisp (file)

Generic Function: namespace POSIX-SOCKET

Return the posix namespace used by the POSIX-SOCKET.

Package

basic-binary-ipc

Source

posix-sockets.lisp (file)

Methods
Method: namespace (POSIX-SOCKET posix-socket)

automatically generated reader method

Generic Function: operating-modes SOCKET
Generic Function: (setf operating-modes) VALUE SOCKET
Package

basic-binary-ipc

Source

posix-sockets.lisp (file)

Methods
Method: operating-modes (OBJECT posix-socket)
Method: (setf operating-modes) VALUE (OBJECT posix-socket)
Generic Function: parse-poll-fd-result SOCKET SOCKET-EVENTS REVENTS

Parse the POLL-EVENTS symbols returned by poll(2)
and determine if any event in SOCKET-EVENTS occurred. SOCKET-EVENTS may be a symbol or a list of symbols.

Package

basic-binary-ipc

Source

posix-poll.lisp (file)

Methods
Method: parse-poll-fd-result (SOCKET failed-posix-stream) (SOCKET-EVENTS symbol) REVENTS
Method: parse-poll-fd-result (OBJECT posix-stream) (SOCKET-EVENTS (eql remote-disconnected-p)) REVENTS
Method: parse-poll-fd-result (OBJECT posix-stream) (SOCKET-EVENTS (eql ready-to-write-p)) REVENTS
Method: parse-poll-fd-result (OBJECT posix-stream) (SOCKET-EVENTS (eql data-available-p)) REVENTS
Method: parse-poll-fd-result (OBJECT posix-stream) (SOCKET-EVENTS (eql connection-succeeded-p)) REVENTS
Method: parse-poll-fd-result (OBJECT posix-stream) (SOCKET-EVENTS (eql connection-failed-p)) REVENTS
Method: parse-poll-fd-result (OBJECT posix-stream) (SOCKET-EVENTS (eql determinedp)) REVENTS
Method: parse-poll-fd-result (OBJECT local-server) (SOCKET-EVENTS (eql connection-available-p)) REVENTS
Method: parse-poll-fd-result (OBJECT ipv4-tcp-server) (SOCKET-EVENTS (eql connection-available-p)) REVENTS
Method: parse-poll-fd-result SOCKET (SOCKET-EVENTS list) REVENTS
Generic Function: protocol POSIX-SOCKET

Return the protocol used by the POSIX-SOCKET.

Package

basic-binary-ipc

Source

posix-sockets.lisp (file)

Methods
Method: protocol (POSIX-SOCKET posix-socket)

automatically generated reader method

Generic Function: reuse-address-p OBJECT
Generic Function: (setf reuse-address-p) VALUE OBJECT
Package

basic-binary-ipc

Methods
Method: reuse-address-p (OBJECT posix-socket)
Method: (setf reuse-address-p) VALUE (OBJECT posix-socket)
Source

posix-sockets.lisp (file)

Generic Function: soa-base-type SOA
Package

basic-binary-ipc

Source

posix-socket-options.lisp (file)

Methods
Method: soa-base-type (SOCKET-OPTION-ARGUMENT socket-option-argument)

automatically generated reader method

Generic Function: soa-size SOA
Package

basic-binary-ipc

Source

posix-socket-options.lisp (file)

Methods
Method: soa-size (OBJECT socket-option-argument)
Generic Function: soa-translate-from-memory SOA POINTER
Package

basic-binary-ipc

Source

posix-socket-options.lisp (file)

Methods
Method: soa-translate-from-memory (G0 (eql soa-boolean)) POINTER
Source

posix-sockets.lisp (file)

Generic Function: soa-translate-to-memory SOA VALUE POINTER
Package

basic-binary-ipc

Source

posix-socket-options.lisp (file)

Methods
Method: soa-translate-to-memory (G0 (eql soa-boolean)) VALUE POINTER
Source

posix-sockets.lisp (file)

Generic Function: system-function-caller CONDITION

The name of the function which invoked the system function that failed.

Package

basic-binary-ipc

Source

system-calls.lisp (file)

Methods
Method: system-function-caller (CONDITION system-function-error)
Generic Function: system-function-error-message CONDITION

A user friendly message describing the system call failure.

Package

basic-binary-ipc

Source

system-calls.lisp (file)

Methods
Method: system-function-error-message (CONDITION system-function-error)
Generic Function: system-function-error-value CONDITION

The error value communicated by the system call.

Package

basic-binary-ipc

Source

system-calls.lisp (file)

Methods
Method: system-function-error-value (CONDITION system-function-error)
Generic Function: system-function-name CONDITION

The name of the system call that failed.

Package

basic-binary-ipc

Source

system-calls.lisp (file)

Methods
Method: system-function-name (CONDITION system-function-error)
Generic Function: test-function OBJECT
Package

basic-binary-ipc

Methods
Method: test-function (EPOLL-EVENT-DATA epoll-event-data)

automatically generated reader method

Source

epoll-poller.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.5 Conditions

Condition: poll-socket-error ()
Package

basic-binary-ipc

Source

posix-poll.lisp (file)

Direct superclasses

error (condition)

Direct methods
Direct slots
Slot: socket
Initargs

:socket

Readers

socket (generic function)

Slot: message
Initargs

:message

Readers

message (generic function)

Condition: posix-error ()

This error class provides a lisp representation of POSIX errors.

Package

basic-binary-ipc

Source

posix-helpers.lisp (file)

Direct superclasses
Condition: system-function-error ()
Package

basic-binary-ipc

Source

system-calls.lisp (file)

Direct superclasses

error (condition)

Direct subclasses

posix-error (condition)

Direct methods
Direct slots
Slot: caller
Initargs

:caller

Readers

system-function-caller (generic function)

Slot: name
Initargs

:name

Readers

system-function-name (generic function)

Slot: error-value
Initargs

:error-value

Readers

system-function-error-value (generic function)

Slot: error-message
Initargs

:error-message

Readers

system-function-error-message (generic function)


Previous: , Up: Internal definitions   [Contents][Index]

6.2.6 Classes

Class: addrinfo-tclass ()
Package

basic-binary-ipc

Source

/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file

Direct superclasses
  • translatable-foreign-type (class)
  • foreign-struct-type (class)
Class: epoll-event-data ()
Package

basic-binary-ipc

Source

epoll-poller.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: events
Initargs

:events

Readers

epoll-events (generic function)

Slot: test-function
Initargs

:test-function

Readers

test-function (generic function)

Class: epoll-event-tclass ()
Package

basic-binary-ipc

Source

/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/epoll-grovel.processed-grovel-file

Direct superclasses
  • translatable-foreign-type (class)
  • foreign-struct-type (class)
Class: epoll-poller ()
Package

basic-binary-ipc

Source

epoll-poller.lisp (file)

Direct superclasses

poller (class)

Direct methods
Direct slots
Slot: epoll-descriptor
Initargs

:epoll-descriptor

Readers

epoll-descriptor (generic function)

Slot: closedp
Initargs

:closedp

Readers

closedp (generic function)

Writers

(setf closedp) (generic function)

Slot: monitor-table
Initargs

:monitor-table

Readers

monitor-table (generic function)

Slot: descriptor-socket-table
Initargs

:descriptor-socket-table

Readers

descriptor-socket-table (generic function)

Slot: maximum-number-of-events
Initargs

:maximum-number-of-events

Readers

maximum-number-of-events (generic function)

Direct Default Initargs
InitargValue
:closedpnil
:maximum-number-of-events100
:monitor-table(make-hash-table)
:descriptor-socket-table(make-hash-table)
Class: failed-ipv4-tcp-stream ()
Package

basic-binary-ipc

Source

posix-sockets.lisp (file)

Direct superclasses

failed-posix-stream (class)

Direct methods
Direct slots
Slot: remote-port
Initargs

:remote-port

Readers

remote-port (generic function)

Slot: remote-host-address
Initargs

:remote-host-address

Readers

remote-host-address (generic function)

Class: failed-posix-stream ()
Package

basic-binary-ipc

Source

posix-sockets.lisp (file)

Direct superclasses

stream-socket (class)

Direct subclasses

failed-ipv4-tcp-stream (class)

Direct methods
Direct slots
Slot: socket
Initargs

:socket

Readers

socket (generic function)

Class: in-addr-tclass ()
Package

basic-binary-ipc

Source

/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file

Direct superclasses
  • translatable-foreign-type (class)
  • foreign-struct-type (class)
Class: poller ()
Package

basic-binary-ipc

Source

protocols.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses

epoll-poller (class)

Class: pollfd-tclass ()
Package

basic-binary-ipc

Source

/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file

Direct superclasses
  • translatable-foreign-type (class)
  • foreign-struct-type (class)
Class: posix-socket ()
Package

basic-binary-ipc

Source

posix-sockets.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: namespace
Initargs

:namespace

Readers

namespace (generic function)

Slot: communication-style
Initargs

:communication-style

Readers

communication-style (generic function)

Slot: protocol
Initargs

:protocol

Readers

protocol (generic function)

Slot: file-descriptor
Initargs

:file-descriptor

Initform

(error "file descriptors must be specified.")

Readers

file-descriptor (generic function)

Slot: closedp
Initargs

:closedp

Readers

socket-closed-p (generic function)

Class: posix-stream ()
Package

basic-binary-ipc

Source

posix-sockets.lisp (file)

Direct superclasses

stream-socket (class)

Direct subclasses
Direct methods
Direct slots
Slot: socket
Initargs

:socket

Readers

socket (generic function)

Class: posix-stream-server ()
Package

basic-binary-ipc

Source

posix-sockets.lisp (file)

Direct superclasses

stream-server (class)

Direct subclasses
Direct methods
Direct slots
Slot: socket
Initargs

:socket

Readers

socket (generic function)

Class: sockaddr-in-tclass ()
Package

basic-binary-ipc

Source

/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file

Direct superclasses
  • translatable-foreign-type (class)
  • foreign-struct-type (class)
Class: sockaddr-un-tclass ()
Package

basic-binary-ipc

Source

/home/quickref/.cache/common-lisp/sbcl-1.4.0-linux-x64/home/quickref/quicklisp/dists/quicklisp/software/basic-binary-ipc-20150804-git/src/posix-grovel.processed-grovel-file

Direct superclasses
  • translatable-foreign-type (class)
  • foreign-struct-type (class)
Class: socket-option-argument ()
Package

basic-binary-ipc

Source

posix-socket-options.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: base-type
Initargs

:base-type

Readers

soa-base-type (generic function)


Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   B   F   L   M  
Index Entry  Section

B
basic-binary-ipc.asd: The basic-binary-ipc<dot>asd file
basic-binary-ipc/src: The basic-binary-ipc/src module
basic-binary-ipc/src/epoll: The basic-binary-ipc/src/epoll module
basic-binary-ipc/src/epoll/epoll-cffi.lisp: The basic-binary-ipc/src/epoll/epoll-cffi<dot>lisp file
basic-binary-ipc/src/epoll/epoll-grovel.lisp: The basic-binary-ipc/src/epoll/epoll-grovel<dot>lisp file
basic-binary-ipc/src/epoll/epoll-poller.lisp: The basic-binary-ipc/src/epoll/epoll-poller<dot>lisp file
basic-binary-ipc/src/packages.lisp: The basic-binary-ipc/src/packages<dot>lisp file
basic-binary-ipc/src/posix: The basic-binary-ipc/src/posix module
basic-binary-ipc/src/posix/posix-cffi.lisp: The basic-binary-ipc/src/posix/posix-cffi<dot>lisp file
basic-binary-ipc/src/posix/posix-grovel.lisp: The basic-binary-ipc/src/posix/posix-grovel<dot>lisp file
basic-binary-ipc/src/posix/posix-helpers.lisp: The basic-binary-ipc/src/posix/posix-helpers<dot>lisp file
basic-binary-ipc/src/posix/posix-poll.lisp: The basic-binary-ipc/src/posix/posix-poll<dot>lisp file
basic-binary-ipc/src/posix/posix-socket-options.lisp: The basic-binary-ipc/src/posix/posix-socket-options<dot>lisp file
basic-binary-ipc/src/posix/posix-sockets.lisp: The basic-binary-ipc/src/posix/posix-sockets<dot>lisp file
basic-binary-ipc/src/protocols.lisp: The basic-binary-ipc/src/protocols<dot>lisp file
basic-binary-ipc/src/system-calls.lisp: The basic-binary-ipc/src/system-calls<dot>lisp file

F
File, Lisp, basic-binary-ipc.asd: The basic-binary-ipc<dot>asd file
File, Lisp, basic-binary-ipc/src/epoll/epoll-cffi.lisp: The basic-binary-ipc/src/epoll/epoll-cffi<dot>lisp file
File, Lisp, basic-binary-ipc/src/epoll/epoll-grovel.lisp: The basic-binary-ipc/src/epoll/epoll-grovel<dot>lisp file
File, Lisp, basic-binary-ipc/src/epoll/epoll-poller.lisp: The basic-binary-ipc/src/epoll/epoll-poller<dot>lisp file
File, Lisp, basic-binary-ipc/src/packages.lisp: The basic-binary-ipc/src/packages<dot>lisp file
File, Lisp, basic-binary-ipc/src/posix/posix-cffi.lisp: The basic-binary-ipc/src/posix/posix-cffi<dot>lisp file
File, Lisp, basic-binary-ipc/src/posix/posix-grovel.lisp: The basic-binary-ipc/src/posix/posix-grovel<dot>lisp file
File, Lisp, basic-binary-ipc/src/posix/posix-helpers.lisp: The basic-binary-ipc/src/posix/posix-helpers<dot>lisp file
File, Lisp, basic-binary-ipc/src/posix/posix-poll.lisp: The basic-binary-ipc/src/posix/posix-poll<dot>lisp file
File, Lisp, basic-binary-ipc/src/posix/posix-socket-options.lisp: The basic-binary-ipc/src/posix/posix-socket-options<dot>lisp file
File, Lisp, basic-binary-ipc/src/posix/posix-sockets.lisp: The basic-binary-ipc/src/posix/posix-sockets<dot>lisp file
File, Lisp, basic-binary-ipc/src/protocols.lisp: The basic-binary-ipc/src/protocols<dot>lisp file
File, Lisp, basic-binary-ipc/src/system-calls.lisp: The basic-binary-ipc/src/system-calls<dot>lisp file

L
Lisp File, basic-binary-ipc.asd: The basic-binary-ipc<dot>asd file
Lisp File, basic-binary-ipc/src/epoll/epoll-cffi.lisp: The basic-binary-ipc/src/epoll/epoll-cffi<dot>lisp file
Lisp File, basic-binary-ipc/src/epoll/epoll-grovel.lisp: The basic-binary-ipc/src/epoll/epoll-grovel<dot>lisp file
Lisp File, basic-binary-ipc/src/epoll/epoll-poller.lisp: The basic-binary-ipc/src/epoll/epoll-poller<dot>lisp file
Lisp File, basic-binary-ipc/src/packages.lisp: The basic-binary-ipc/src/packages<dot>lisp file
Lisp File, basic-binary-ipc/src/posix/posix-cffi.lisp: The basic-binary-ipc/src/posix/posix-cffi<dot>lisp file
Lisp File, basic-binary-ipc/src/posix/posix-grovel.lisp: The basic-binary-ipc/src/posix/posix-grovel<dot>lisp file
Lisp File, basic-binary-ipc/src/posix/posix-helpers.lisp: The basic-binary-ipc/src/posix/posix-helpers<dot>lisp file
Lisp File, basic-binary-ipc/src/posix/posix-poll.lisp: The basic-binary-ipc/src/posix/posix-poll<dot>lisp file
Lisp File, basic-binary-ipc/src/posix/posix-socket-options.lisp: The basic-binary-ipc/src/posix/posix-socket-options<dot>lisp file
Lisp File, basic-binary-ipc/src/posix/posix-sockets.lisp: The basic-binary-ipc/src/posix/posix-sockets<dot>lisp file
Lisp File, basic-binary-ipc/src/protocols.lisp: The basic-binary-ipc/src/protocols<dot>lisp file
Lisp File, basic-binary-ipc/src/system-calls.lisp: The basic-binary-ipc/src/system-calls<dot>lisp file

M
Module, basic-binary-ipc/src: The basic-binary-ipc/src module
Module, basic-binary-ipc/src/epoll: The basic-binary-ipc/src/epoll module
Module, basic-binary-ipc/src/posix: The basic-binary-ipc/src/posix module

Jump to:   B   F   L   M  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   %   (  
A   C   D   E   F   G   H   K   L   M   N   O   P   R   S   T   U   W   Z  
Index Entry  Section

%
%ff-accept: Internal functions
%ff-bind: Internal functions
%ff-close: Internal functions
%ff-connect: Internal functions
%ff-epoll-create: Internal functions
%ff-epoll-ctl: Internal functions
%ff-epoll-wait: Internal functions
%ff-fcntl-noarg: Internal functions
%ff-fcntl-setfl: Internal functions
%ff-freeaddrinfo: Internal functions
%ff-gai-strerror: Internal functions
%ff-get-errno: Internal functions
%ff-get-errno-pointer: Internal functions
%ff-getaddrinfo: Internal functions
%ff-getsockname: Internal functions
%ff-getsockopt: Internal functions
%ff-htons: Internal functions
%ff-inet-aton: Internal functions
%ff-inet-ntoa: Internal functions
%ff-listen: Internal functions
%ff-ntohl: Internal functions
%ff-ntohs: Internal functions
%ff-poll: Internal functions
%ff-recvfrom: Internal functions
%ff-sendto: Internal functions
%ff-setsockopt: Internal functions
%ff-socket: Internal functions
%ff-strerror: Internal functions

(
(setf closedp): Internal generic functions
(setf closedp): Internal generic functions
(setf epoll-event-data): Internal functions
(setf keep-alive-p): Internal generic functions
(setf keep-alive-p): Internal generic functions
(setf monitored-events): Exported generic functions
(setf monitored-events): Exported generic functions
(setf operating-modes): Internal generic functions
(setf operating-modes): Internal generic functions
(setf reuse-address-p): Internal generic functions
(setf reuse-address-p): Internal generic functions
(setf socket-option-argument): Internal functions

A
accept-connection: Exported generic functions
accept-connection: Exported generic functions
accept-connection: Exported generic functions

C
c-function-name: Internal generic functions
check-posix: Internal functions
close-poller: Exported generic functions
close-poller: Exported generic functions
close-socket: Exported generic functions
close-socket: Exported generic functions
close-socket: Exported generic functions
close-socket: Exported generic functions
close-socket: Exported generic functions
close-socket: Exported generic functions
closedp: Internal generic functions
closedp: Internal generic functions
communication-style: Internal generic functions
communication-style: Internal generic functions
compilable-poll-fd-event-expression: Internal functions
compile-poll-fd-event-expression: Internal functions
compute-poll-fd-events: Internal generic functions
compute-poll-fd-events: Internal generic functions
compute-poll-fd-events: Internal generic functions
compute-poll-fd-events: Internal generic functions
compute-poll-fd-events: Internal generic functions
compute-poll-fd-events: Internal generic functions
compute-poll-fd-events: Internal generic functions
compute-poll-fd-events: Internal generic functions
compute-poll-fd-events: Internal generic functions
compute-poll-fd-events: Internal generic functions
compute-poll-fd-events: Internal generic functions
connect-to-ipv4-tcp-server: Exported functions
connect-to-local-server: Exported functions
connection-available-p: Exported generic functions
connection-available-p: Exported generic functions
connection-available-p: Exported generic functions
connection-failed-p: Exported generic functions
connection-failed-p: Exported generic functions
connection-failed-p: Exported generic functions
connection-stream: Internal generic functions
connection-succeeded-p: Exported generic functions
connection-succeeded-p: Exported generic functions
connection-succeeded-p: Exported generic functions

D
data-available-p: Exported generic functions
data-available-p: Exported generic functions
data-available-p: Exported generic functions
define-check-system-call: Internal macros
define-epoll-event: Internal macros
define-poll-fd-event: Internal macros
define-poll-fd-event-errors: Internal macros
define-posix-system-call: Internal macros
define-socket-option: Internal macros
define-socket-option-argument: Internal macros
define-system-call: Internal macros
delete-on-close-p: Internal generic functions
delete-on-close-p: Internal generic functions
descriptor-socket-table: Internal generic functions
descriptor-socket-table: Internal generic functions
determinedp: Exported generic functions
determinedp: Exported generic functions
determinedp: Exported generic functions
do-define-socket-option/reader: Internal functions
do-define-socket-option/writer: Internal functions
do-with-poller: Exported functions
do-with-sockaddr-in: Internal functions
do-with-sockaddr-un: Internal functions
do-with-socket: Exported functions

E
ensure-epoll-event-data: Internal functions
ensure-socket-option-argument: Internal functions
epoll-descriptor: Internal generic functions
epoll-descriptor: Internal generic functions
epoll-event-data: Internal functions
epoll-events: Internal generic functions
epoll-events: Internal generic functions
epoll-events: Internal generic functions
epoll-match-p: Internal generic functions
epoll-match-p: Internal generic functions
epoll-match-p: Internal generic functions
errnum-symbol: Internal functions

F
file-descriptor: Internal generic functions
file-descriptor: Internal generic functions
file-descriptor: Internal generic functions
file-descriptor: Internal generic functions
file-descriptor: Internal generic functions
Function, %ff-accept: Internal functions
Function, %ff-bind: Internal functions
Function, %ff-close: Internal functions
Function, %ff-connect: Internal functions
Function, %ff-epoll-create: Internal functions
Function, %ff-epoll-ctl: Internal functions
Function, %ff-epoll-wait: Internal functions
Function, %ff-fcntl-noarg: Internal functions
Function, %ff-fcntl-setfl: Internal functions
Function, %ff-freeaddrinfo: Internal functions
Function, %ff-gai-strerror: Internal functions
Function, %ff-get-errno: Internal functions
Function, %ff-get-errno-pointer: Internal functions
Function, %ff-getaddrinfo: Internal functions
Function, %ff-getsockname: Internal functions
Function, %ff-getsockopt: Internal functions
Function, %ff-htons: Internal functions
Function, %ff-inet-aton: Internal functions
Function, %ff-inet-ntoa: Internal functions
Function, %ff-listen: Internal functions
Function, %ff-ntohl: Internal functions
Function, %ff-ntohs: Internal functions
Function, %ff-poll: Internal functions
Function, %ff-recvfrom: Internal functions
Function, %ff-sendto: Internal functions
Function, %ff-setsockopt: Internal functions
Function, %ff-socket: Internal functions
Function, %ff-strerror: Internal functions
Function, (setf epoll-event-data): Internal functions
Function, (setf socket-option-argument): Internal functions
Function, check-posix: Internal functions
Function, compilable-poll-fd-event-expression: Internal functions
Function, compile-poll-fd-event-expression: Internal functions
Function, connect-to-ipv4-tcp-server: Exported functions
Function, connect-to-local-server: Exported functions
Function, do-define-socket-option/reader: Internal functions
Function, do-define-socket-option/writer: Internal functions
Function, do-with-poller: Exported functions
Function, do-with-sockaddr-in: Internal functions
Function, do-with-sockaddr-un: Internal functions
Function, do-with-socket: Exported functions
Function, ensure-epoll-event-data: Internal functions
Function, ensure-socket-option-argument: Internal functions
Function, epoll-event-data: Internal functions
Function, errnum-symbol: Internal functions
Function, host-address-from-inaddr: Internal functions
Function, host-address-from-sockaddr-in: Internal functions
Function, make-ipv4-tcp-server: Exported functions
Function, make-local-server: Exported functions
Function, make-poller: Exported functions
Function, make-posix-socket: Internal functions
Function, poll-fd-event-test: Internal functions
Function, poll-fd-event-test/sexp: Internal functions
Function, port-from-sockaddr-in: Internal functions
Function, posix-error-code: Internal functions
Function, posix-error-code-p: Internal functions
Function, posix-error-interrupted-p: Internal functions
Function, posix-error-would-block-p: Internal functions
Function, prepare-epoll-event-test-function: Internal functions
Function, prepare-epoll-event-test-function/expander: Internal functions
Function, process-events: Internal functions
Function, resolve-ipv4-address: Exported functions
Function, socket-option-argument: Internal functions
Function, strerror: Internal functions
Function, zero-memory: Internal functions

G
Generic Function, (setf closedp): Internal generic functions
Generic Function, (setf keep-alive-p): Internal generic functions
Generic Function, (setf monitored-events): Exported generic functions
Generic Function, (setf operating-modes): Internal generic functions
Generic Function, (setf reuse-address-p): Internal generic functions
Generic Function, accept-connection: Exported generic functions
Generic Function, c-function-name: Internal generic functions
Generic Function, close-poller: Exported generic functions
Generic Function, close-socket: Exported generic functions
Generic Function, closedp: Internal generic functions
Generic Function, communication-style: Internal generic functions
Generic Function, compute-poll-fd-events: Internal generic functions
Generic Function, connection-available-p: Exported generic functions
Generic Function, connection-failed-p: Exported generic functions
Generic Function, connection-stream: Internal generic functions
Generic Function, connection-succeeded-p: Exported generic functions
Generic Function, data-available-p: Exported generic functions
Generic Function, delete-on-close-p: Internal generic functions
Generic Function, descriptor-socket-table: Internal generic functions
Generic Function, determinedp: Exported generic functions
Generic Function, epoll-descriptor: Internal generic functions
Generic Function, epoll-events: Internal generic functions
Generic Function, epoll-match-p: Internal generic functions
Generic Function, file-descriptor: Internal generic functions
Generic Function, host-address: Exported generic functions
Generic Function, keep-alive-p: Internal generic functions
Generic Function, lisp-function-name: Internal generic functions
Generic Function, local-host-address: Exported generic functions
Generic Function, local-pathname: Exported generic functions
Generic Function, local-port: Exported generic functions
Generic Function, maximum-number-of-events: Internal generic functions
Generic Function, message: Internal generic functions
Generic Function, monitor-socket: Exported generic functions
Generic Function, monitor-table: Internal generic functions
Generic Function, monitored-events: Exported generic functions
Generic Function, monitored-sockets: Exported generic functions
Generic Function, monitoredp: Internal generic functions
Generic Function, namespace: Internal generic functions
Generic Function, operating-modes: Internal generic functions
Generic Function, parse-poll-fd-result: Internal generic functions
Generic Function, poll-socket: Exported generic functions
Generic Function, poll-sockets: Exported generic functions
Generic Function, port: Exported generic functions
Generic Function, protocol: Internal generic functions
Generic Function, read-from-stream: Exported generic functions
Generic Function, ready-to-write-p: Exported generic functions
Generic Function, remote-disconnected-p: Exported generic functions
Generic Function, remote-host-address: Exported generic functions
Generic Function, remote-port: Exported generic functions
Generic Function, reuse-address-p: Internal generic functions
Generic Function, soa-base-type: Internal generic functions
Generic Function, soa-size: Internal generic functions
Generic Function, soa-translate-from-memory: Internal generic functions
Generic Function, soa-translate-to-memory: Internal generic functions
Generic Function, socket: Exported generic functions
Generic Function, socket-closed-p: Exported generic functions
Generic Function, system-function-caller: Internal generic functions
Generic Function, system-function-error-message: Internal generic functions
Generic Function, system-function-error-value: Internal generic functions
Generic Function, system-function-name: Internal generic functions
Generic Function, test-function: Internal generic functions
Generic Function, unmonitor-socket: Exported generic functions
Generic Function, wait-for-events: Exported generic functions
Generic Function, write-to-stream: Exported generic functions

H
host-address: Exported generic functions
host-address: Exported generic functions
host-address-from-inaddr: Internal functions
host-address-from-sockaddr-in: Internal functions

K
keep-alive-p: Internal generic functions
keep-alive-p: Internal generic functions

L
lisp-function-name: Internal generic functions
local-host-address: Exported generic functions
local-host-address: Exported generic functions
local-pathname: Exported generic functions
local-pathname: Exported generic functions
local-pathname: Exported generic functions
local-pathname: Exported generic functions
local-port: Exported generic functions
local-port: Exported generic functions

M
Macro, define-check-system-call: Internal macros
Macro, define-epoll-event: Internal macros
Macro, define-poll-fd-event: Internal macros
Macro, define-poll-fd-event-errors: Internal macros
Macro, define-posix-system-call: Internal macros
Macro, define-socket-option: Internal macros
Macro, define-socket-option-argument: Internal macros
Macro, define-system-call: Internal macros
Macro, posix-socket-initialisation-progn: Internal macros
Macro, with-poller: Exported macros
Macro, with-sockaddr-in: Internal macros
Macro, with-sockaddr-un: Internal macros
Macro, with-socket: Exported macros
make-ipv4-tcp-server: Exported functions
make-local-server: Exported functions
make-poller: Exported functions
make-posix-socket: Internal functions
maximum-number-of-events: Internal generic functions
maximum-number-of-events: Internal generic functions
message: Internal generic functions
message: Internal generic functions
Method, (setf closedp): Internal generic functions
Method, (setf keep-alive-p): Internal generic functions
Method, (setf monitored-events): Exported generic functions
Method, (setf operating-modes): Internal generic functions
Method, (setf reuse-address-p): Internal generic functions
Method, accept-connection: Exported generic functions
Method, accept-connection: Exported generic functions
Method, close-poller: Exported generic functions
Method, close-socket: Exported generic functions
Method, close-socket: Exported generic functions
Method, close-socket: Exported generic functions
Method, close-socket: Exported generic functions
Method, close-socket: Exported generic functions
Method, closedp: Internal generic functions
Method, communication-style: Internal generic functions
Method, compute-poll-fd-events: Internal generic functions
Method, compute-poll-fd-events: Internal generic functions
Method, compute-poll-fd-events: Internal generic functions
Method, compute-poll-fd-events: Internal generic functions
Method, compute-poll-fd-events: Internal generic functions
Method, compute-poll-fd-events: Internal generic functions
Method, compute-poll-fd-events: Internal generic functions
Method, compute-poll-fd-events: Internal generic functions
Method, compute-poll-fd-events: Internal generic functions
Method, compute-poll-fd-events: Internal generic functions
Method, connection-available-p: Exported generic functions
Method, connection-available-p: Exported generic functions
Method, connection-failed-p: Exported generic functions
Method, connection-failed-p: Exported generic functions
Method, connection-succeeded-p: Exported generic functions
Method, connection-succeeded-p: Exported generic functions
Method, data-available-p: Exported generic functions
Method, data-available-p: Exported generic functions
Method, delete-on-close-p: Internal generic functions
Method, descriptor-socket-table: Internal generic functions
Method, determinedp: Exported generic functions
Method, determinedp: Exported generic functions
Method, epoll-descriptor: Internal generic functions
Method, epoll-events: Internal generic functions
Method, epoll-events: Internal generic functions
Method, epoll-match-p: Internal generic functions
Method, epoll-match-p: Internal generic functions
Method, file-descriptor: Internal generic functions
Method, file-descriptor: Internal generic functions
Method, file-descriptor: Internal generic functions
Method, file-descriptor: Internal generic functions
Method, host-address: Exported generic functions
Method, keep-alive-p: Internal generic functions
Method, local-host-address: Exported generic functions
Method, local-pathname: Exported generic functions
Method, local-pathname: Exported generic functions
Method, local-pathname: Exported generic functions
Method, local-port: Exported generic functions
Method, maximum-number-of-events: Internal generic functions
Method, message: Internal generic functions
Method, monitor-socket: Exported generic functions
Method, monitor-table: Internal generic functions
Method, monitored-events: Exported generic functions
Method, namespace: Internal generic functions
Method, operating-modes: Internal generic functions
Method, parse-poll-fd-result: Internal generic functions
Method, parse-poll-fd-result: Internal generic functions
Method, parse-poll-fd-result: Internal generic functions
Method, parse-poll-fd-result: Internal generic functions
Method, parse-poll-fd-result: Internal generic functions
Method, parse-poll-fd-result: Internal generic functions
Method, parse-poll-fd-result: Internal generic functions
Method, parse-poll-fd-result: Internal generic functions
Method, parse-poll-fd-result: Internal generic functions
Method, parse-poll-fd-result: Internal generic functions
Method, poll-socket: Exported generic functions
Method, poll-sockets: Exported generic functions
Method, port: Exported generic functions
Method, protocol: Internal generic functions
Method, read-from-stream: Exported generic functions
Method, ready-to-write-p: Exported generic functions
Method, remote-disconnected-p: Exported generic functions
Method, remote-host-address: Exported generic functions
Method, remote-host-address: Exported generic functions
Method, remote-port: Exported generic functions
Method, remote-port: Exported generic functions
Method, reuse-address-p: Internal generic functions
Method, soa-base-type: Internal generic functions
Method, soa-size: Internal generic functions
Method, soa-translate-from-memory: Internal generic functions
Method, soa-translate-to-memory: Internal generic functions
Method, socket: Exported generic functions
Method, socket: Exported generic functions
Method, socket: Exported generic functions
Method, socket: Exported generic functions
Method, socket: Exported generic functions
Method, socket: Exported generic functions
Method, socket-closed-p: Exported generic functions
Method, socket-closed-p: Exported generic functions
Method, socket-closed-p: Exported generic functions
Method, system-function-caller: Internal generic functions
Method, system-function-error-message: Internal generic functions
Method, system-function-error-value: Internal generic functions
Method, system-function-name: Internal generic functions
Method, test-function: Internal generic functions
Method, unmonitor-socket: Exported generic functions
Method, wait-for-events: Exported generic functions
Method, write-to-stream: Exported generic functions
monitor-socket: Exported generic functions
monitor-socket: Exported generic functions
monitor-table: Internal generic functions
monitor-table: Internal generic functions
monitored-events: Exported generic functions
monitored-events: Exported generic functions
monitored-sockets: Exported generic functions
monitoredp: Internal generic functions

N
namespace: Internal generic functions
namespace: Internal generic functions

O
operating-modes: Internal generic functions
operating-modes: Internal generic functions

P
parse-poll-fd-result: Internal generic functions
parse-poll-fd-result: Internal generic functions
parse-poll-fd-result: Internal generic functions
parse-poll-fd-result: Internal generic functions
parse-poll-fd-result: Internal generic functions
parse-poll-fd-result: Internal generic functions
parse-poll-fd-result: Internal generic functions
parse-poll-fd-result: Internal generic functions
parse-poll-fd-result: Internal generic functions
parse-poll-fd-result: Internal generic functions
parse-poll-fd-result: Internal generic functions
poll-fd-event-test: Internal functions
poll-fd-event-test/sexp: Internal functions
poll-socket: Exported generic functions
poll-socket: Exported generic functions
poll-sockets: Exported generic functions
poll-sockets: Exported generic functions
port: Exported generic functions
port: Exported generic functions
port-from-sockaddr-in: Internal functions
posix-error-code: Internal functions
posix-error-code-p: Internal functions
posix-error-interrupted-p: Internal functions
posix-error-would-block-p: Internal functions
posix-socket-initialisation-progn: Internal macros
prepare-epoll-event-test-function: Internal functions
prepare-epoll-event-test-function/expander: Internal functions
process-events: Internal functions
protocol: Internal generic functions
protocol: Internal generic functions

R
read-from-stream: Exported generic functions
read-from-stream: Exported generic functions
ready-to-write-p: Exported generic functions
ready-to-write-p: Exported generic functions
remote-disconnected-p: Exported generic functions
remote-disconnected-p: Exported generic functions
remote-host-address: Exported generic functions
remote-host-address: Exported generic functions
remote-host-address: Exported generic functions
remote-port: Exported generic functions
remote-port: Exported generic functions
remote-port: Exported generic functions
resolve-ipv4-address: Exported functions
reuse-address-p: Internal generic functions
reuse-address-p: Internal generic functions

S
soa-base-type: Internal generic functions
soa-base-type: Internal generic functions
soa-size: Internal generic functions
soa-size: Internal generic functions
soa-translate-from-memory: Internal generic functions
soa-translate-from-memory: Internal generic functions
soa-translate-to-memory: Internal generic functions
soa-translate-to-memory: Internal generic functions
socket: Exported generic functions
socket: Exported generic functions
socket: Exported generic functions
socket: Exported generic functions
socket: Exported generic functions
socket: Exported generic functions
socket: Exported generic functions
socket-closed-p: Exported generic functions
socket-closed-p: Exported generic functions
socket-closed-p: Exported generic functions
socket-closed-p: Exported generic functions
socket-option-argument: Internal functions
strerror: Internal functions
system-function-caller: Internal generic functions
system-function-caller: Internal generic functions
system-function-error-message: Internal generic functions
system-function-error-message: Internal generic functions
system-function-error-value: Internal generic functions
system-function-error-value: Internal generic functions
system-function-name: Internal generic functions
system-function-name: Internal generic functions

T
test-function: Internal generic functions
test-function: Internal generic functions

U
unmonitor-socket: Exported generic functions
unmonitor-socket: Exported generic functions

W
wait-for-events: Exported generic functions
wait-for-events: Exported generic functions
with-poller: Exported macros
with-sockaddr-in: Internal macros
with-sockaddr-un: Internal macros
with-socket: Exported macros
write-to-stream: Exported generic functions
write-to-stream: Exported generic functions

Z
zero-memory: Internal functions

Jump to:   %   (  
A   C   D   E   F   G   H   K   L   M   N   O   P   R   S   T   U   W   Z  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables

Jump to:   +  
A   B   C   D   E   F   H   I   L   M   N   O   P   R   S   T  
Index Entry  Section

+
+ipv4-any+: Exported special variables
+ipv4-loopback+: Exported special variables

A
ai-addrconfig: Internal constants
ai-all: Internal constants
ai-canonname: Internal constants
ai-numerichost: Internal constants
ai-numericserv: Internal constants
ai-passive: Internal constants
ai-v4mapped: Internal constants

B
base-type: Internal classes

C
caller: Internal conditions
closedp: Internal classes
closedp: Internal classes
communication-style: Internal classes
Constant, ai-addrconfig: Internal constants
Constant, ai-all: Internal constants
Constant, ai-canonname: Internal constants
Constant, ai-numerichost: Internal constants
Constant, ai-numericserv: Internal constants
Constant, ai-passive: Internal constants
Constant, ai-v4mapped: Internal constants
Constant, inaddr-any: Internal constants
Constant, inaddr-broadcast: Internal constants
Constant, inaddr-loopback: Internal constants
Constant, inaddr-none: Internal constants
Constant, msg-dontroute: Internal constants
Constant, msg-oob: Internal constants
Constant, msg-peek: Internal constants
Constant, msg-waitall: Internal constants
Constant, o-nonblock: Internal constants
Constant, pollerr: Internal constants
Constant, pollhup: Internal constants
Constant, pollin: Internal constants
Constant, pollnval: Internal constants
Constant, pollout: Internal constants
Constant, pollpri: Internal constants
Constant, pollrdband: Internal constants
Constant, pollrdnorm: Internal constants
Constant, pollwrband: Internal constants
Constant, pollwrnorm: Internal constants
Constant, size-of-addrinfo: Internal constants
Constant, size-of-epoll-event: Internal constants
Constant, size-of-in-addr: Internal constants
Constant, size-of-nfds-t: Internal constants
Constant, size-of-pollfd: Internal constants
Constant, size-of-sa-family-t: Internal constants
Constant, size-of-size-t: Internal constants
Constant, size-of-sockaddr-in: Internal constants
Constant, size-of-sockaddr-un: Internal constants
Constant, size-of-socklen-t: Internal constants

D
delete-on-close-p: Exported classes
descriptor-socket-table: Internal classes

E
epoll-descriptor: Internal classes
error-message: Internal conditions
error-value: Internal conditions
events: Internal classes

F
file-descriptor: Internal classes

H
host-address: Exported classes

I
inaddr-any: Internal constants
inaddr-broadcast: Internal constants
inaddr-loopback: Internal constants
inaddr-none: Internal constants

L
local-host-address: Exported classes
local-pathname: Exported conditions
local-pathname: Exported classes
local-pathname: Exported classes
local-port: Exported classes

M
maximum-number-of-events: Internal classes
message: Internal conditions
monitor-table: Internal classes
msg-dontroute: Internal constants
msg-oob: Internal constants
msg-peek: Internal constants
msg-waitall: Internal constants

N
name: Internal conditions
namespace: Internal classes

O
o-nonblock: Internal constants

P
pollerr: Internal constants
pollhup: Internal constants
pollin: Internal constants
pollnval: Internal constants
pollout: Internal constants
pollpri: Internal constants
pollrdband: Internal constants
pollrdnorm: Internal constants
pollwrband: Internal constants
pollwrnorm: Internal constants
port: Exported classes
protocol: Internal classes

R
remote-host-address: Exported classes
remote-host-address: Internal classes
remote-port: Exported classes
remote-port: Internal classes

S
size-of-addrinfo: Internal constants
size-of-epoll-event: Internal constants
size-of-in-addr: Internal constants
size-of-nfds-t: Internal constants
size-of-pollfd: Internal constants
size-of-sa-family-t: Internal constants
size-of-size-t: Internal constants
size-of-sockaddr-in: Internal constants
size-of-sockaddr-un: Internal constants
size-of-socklen-t: Internal constants
Slot, base-type: Internal classes
Slot, caller: Internal conditions
Slot, closedp: Internal classes
Slot, closedp: Internal classes
Slot, communication-style: Internal classes
Slot, delete-on-close-p: Exported classes
Slot, descriptor-socket-table: Internal classes
Slot, epoll-descriptor: Internal classes
Slot, error-message: Internal conditions
Slot, error-value: Internal conditions
Slot, events: Internal classes
Slot, file-descriptor: Internal classes
Slot, host-address: Exported classes
Slot, local-host-address: Exported classes
Slot, local-pathname: Exported conditions
Slot, local-pathname: Exported classes
Slot, local-pathname: Exported classes
Slot, local-port: Exported classes
Slot, maximum-number-of-events: Internal classes
Slot, message: Internal conditions
Slot, monitor-table: Internal classes
Slot, name: Internal conditions
Slot, namespace: Internal classes
Slot, port: Exported classes
Slot, protocol: Internal classes
Slot, remote-host-address: Exported classes
Slot, remote-host-address: Internal classes
Slot, remote-port: Exported classes
Slot, remote-port: Internal classes
Slot, socket: Exported conditions
Slot, socket: Exported conditions
Slot, socket: Internal conditions
Slot, socket: Internal classes
Slot, socket: Internal classes
Slot, socket: Internal classes
Slot, test-function: Internal classes
socket: Exported conditions
socket: Exported conditions
socket: Internal conditions
socket: Internal classes
socket: Internal classes
socket: Internal classes
Special Variable, +ipv4-any+: Exported special variables
Special Variable, +ipv4-loopback+: Exported special variables

T
test-function: Internal classes

Jump to:   +  
A   B   C   D   E   F   H   I   L   M   N   O   P   R   S   T  

Previous: , Up: Indexes   [Contents][Index]

A.4 Data types

Jump to:   A   B   C   E   F   I   L   N   P   S  
Index Entry  Section

A
addrinfo-tclass: Internal classes

B
basic-binary-ipc: The basic-binary-ipc system
basic-binary-ipc: The basic-binary-ipc package

C
Class, addrinfo-tclass: Internal classes
Class, epoll-event-data: Internal classes
Class, epoll-event-tclass: Internal classes
Class, epoll-poller: Internal classes
Class, failed-ipv4-tcp-stream: Internal classes
Class, failed-posix-stream: Internal classes
Class, in-addr-tclass: Internal classes
Class, ipv4-tcp-server: Exported classes
Class, ipv4-tcp-stream: Exported classes
Class, local-server: Exported classes
Class, local-stream: Exported classes
Class, poller: Internal classes
Class, pollfd-tclass: Internal classes
Class, posix-socket: Internal classes
Class, posix-stream: Internal classes
Class, posix-stream-server: Internal classes
Class, sockaddr-in-tclass: Internal classes
Class, sockaddr-un-tclass: Internal classes
Class, socket: Exported classes
Class, socket-option-argument: Internal classes
Class, stream-server: Exported classes
Class, stream-socket: Exported classes
Condition, no-connection-available-error: Exported conditions
Condition, no-local-server-error: Exported conditions
Condition, poll-socket-error: Internal conditions
Condition, posix-error: Internal conditions
Condition, socket-error: Exported conditions
Condition, system-function-error: Internal conditions

E
epoll-event-data: Internal classes
epoll-event-tclass: Internal classes
epoll-poller: Internal classes

F
failed-ipv4-tcp-stream: Internal classes
failed-posix-stream: Internal classes

I
in-addr-tclass: Internal classes
ipv4-tcp-server: Exported classes
ipv4-tcp-stream: Exported classes

L
local-server: Exported classes
local-stream: Exported classes

N
no-connection-available-error: Exported conditions
no-local-server-error: Exported conditions

P
Package, basic-binary-ipc: The basic-binary-ipc package
poll-socket-error: Internal conditions
poller: Internal classes
pollfd-tclass: Internal classes
posix-error: Internal conditions
posix-socket: Internal classes
posix-stream: Internal classes
posix-stream-server: Internal classes

S
sockaddr-in-tclass: Internal classes
sockaddr-un-tclass: Internal classes
socket: Exported classes
socket-error: Exported conditions
socket-option-argument: Internal classes
stream-server: Exported classes
stream-socket: Exported classes
System, basic-binary-ipc: The basic-binary-ipc system
system-function-error: Internal conditions

Jump to:   A   B   C   E   F   I   L   N   P   S