This is the fsocket Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 06:09:07 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
fsocket
Franks socket API
Frank James <frank.a.james@gmail.com>
MIT
cffi
(system).
trivial-gray-streams
(system).
package.lisp
(file).
errors.lisp
(file).
constants.lisp
(file).
common.lisp
(file).
posix.lisp
(file).
options.lisp
(file).
streams.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
fsocket/fsocket.asd
fsocket/package.lisp
fsocket/errors.lisp
fsocket/constants.lisp
fsocket/common.lisp
fsocket/posix.lisp
fsocket/options.lisp
fsocket/streams.lisp
fsocket/errors.lisp
package.lisp
(file).
fsocket
(system).
fsocket-error
(condition).
fsocket-short-buffer
(condition).
fsocket-error-msg
(reader method).
fsocket/constants.lisp
errors.lisp
(file).
fsocket
(system).
+af-inet+
(constant).
+af-inet6+
(constant).
+af-unix+
(constant).
+can-raw+
(constant).
+ip-multicast-if+
(constant).
+ip-multicast-loop+
(constant).
+ip-multicast-ttl+
(constant).
+ip6-multicast-if+
(constant).
+ip6-multicast-loop+
(constant).
+ipproto-ip+
(constant).
+ipproto-ip6+
(constant).
+ipproto-tcp+
(constant).
+ipproto-udp+
(constant).
+ipv6-multicast-hops+
(constant).
+mcast-join-group+
(constant).
+pf-can+
(constant).
+siocgifindex+
(constant).
+siocgifname+
(constant).
+siocgstamp+
(constant).
+so-acceptconn+
(constant).
+so-broadcast+
(constant).
+so-error+
(constant).
+so-rcvbuf+
(constant).
+so-rcvtimeo+
(constant).
+so-reuseaddr+
(constant).
+so-sndbuf+
(constant).
+so-sndtimeo+
(constant).
+sock-dgram+
(constant).
+sock-raw+
(constant).
+sock-stream+
(constant).
+sol-socket+
(constant).
+tcp-nodelay+
(constant).
fsocket/common.lisp
constants.lisp
(file).
fsocket
(system).
adapter
(structure).
adapter-address
(reader).
(setf adapter-address)
(writer).
adapter-broadcast
(reader).
(setf adapter-broadcast)
(writer).
adapter-index
(reader).
(setf adapter-index)
(writer).
adapter-mtu
(reader).
(setf adapter-mtu)
(writer).
adapter-name
(reader).
(setf adapter-name)
(writer).
adapter-netmask
(reader).
(setf adapter-netmask)
(writer).
adapter-status
(reader).
(setf adapter-status)
(writer).
adapter-type
(reader).
(setf adapter-type)
(writer).
adapter-unicast
(reader).
(setf adapter-unicast)
(writer).
doevents
(macro).
loopback-p
(function).
make-can-interface
(function).
make-can-packet
(function).
make-sockaddr-in
(function).
make-sockaddr-in6
(function).
parse-can-packet
(function).
poll-event
(function).
poll-event-p
(function).
poll-events
(function).
pollfd
(class).
pollfd-events
(reader method).
(setf pollfd-events)
(writer method).
pollfd-fd
(reader method).
(setf pollfd-fd)
(writer method).
pollfd-revents
(reader method).
(setf pollfd-revents)
(writer method).
sockaddr-in
(function).
sockaddr-in
(structure).
sockaddr-in-addr
(reader).
(setf sockaddr-in-addr)
(writer).
sockaddr-in-p
(function).
sockaddr-in-port
(reader).
(setf sockaddr-in-port)
(writer).
sockaddr-in6
(function).
sockaddr-in6
(structure).
sockaddr-in6-addr
(reader).
(setf sockaddr-in6-addr)
(writer).
sockaddr-in6-p
(function).
sockaddr-in6-port
(reader).
(setf sockaddr-in6-port)
(writer).
sockaddr-string
(function).
sockaddr=
(function).
string-sockaddr
(function).
translate-from-foreign
(method).
translate-from-foreign
(method).
translate-from-foreign
(method).
translate-into-foreign-memory
(method).
translate-into-foreign-memory
(method).
translate-into-foreign-memory
(method).
with-poll
(macro).
with-socket
(macro).
with-tcp-connection
(macro).
with-tcp-socket
(macro).
with-udp-socket
(macro).
%read
(function).
%write
(function).
adapter-p
(function).
can-interface
(structure).
can-interface-name
(reader).
(setf can-interface-name)
(writer).
can-interface-p
(function).
can-packet
(structure).
can-packet-data
(reader).
(setf can-packet-data)
(writer).
can-packet-id
(reader).
(setf can-packet-id)
(writer).
can-packet-origin
(reader).
(setf can-packet-origin)
(writer).
can-packet-p
(function).
can-packet-timestamp
(reader).
(setf can-packet-timestamp)
(writer).
copy-adapter
(function).
copy-can-interface
(function).
copy-can-packet
(function).
copy-sockaddr-in
(function).
copy-sockaddr-in6
(function).
dotted-quad-p
(function).
dotted-quad-to-inaddr
(function).
htonl
(function).
htons
(function).
inaddr-to-dotted-quad
(function).
make-adapter
(function).
ntohs
(function).
sockaddr-in-tclass
(class).
sockaddr-in6-flowinfo
(reader).
(setf sockaddr-in6-flowinfo)
(writer).
sockaddr-in6-scopeid
(reader).
(setf sockaddr-in6-scopeid)
(writer).
sockaddr-in6-tclass
(class).
sockaddr-un-tclass
(class).
translate-sockaddr-family
(function).
translate-sockaddr-from-foreign
(function).
fsocket/posix.lisp
common.lisp
(file).
fsocket
(system).
close-poll
(function).
close-socket
(function).
get-host-name
(function).
get-name-servers
(function).
list-adapters
(function).
open-poll
(function).
open-socket
(function).
poll
(function).
poll-context
(structure).
poll-context-fds
(reader).
(setf poll-context-fds)
(writer).
poll-find
(function).
poll-register
(function).
poll-unregister
(function).
socket-accept
(function).
socket-bind
(function).
socket-connect
(function).
socket-listen
(function).
socket-name
(function).
socket-peer
(function).
socket-recv
(function).
socket-recvfrom
(function).
socket-send
(function).
socket-sendto
(function).
socket-shutdown
(function).
translate-from-foreign
(method).
translate-into-foreign-memory
(method).
with-can-socket
(macro).
%accept
(function).
%bind
(function).
%close
(function).
%connect
(function).
%fcntl
(function).
%freeifaddrs
(function).
%get-domain-name
(function).
%get-host-name
(function).
%getifaddrs
(function).
%getpeername
(function).
%getsockname
(function).
%getsockopt
(function).
%if-nametoindex
(function).
%ioctl
(function).
%listen
(function).
%poll
(function).
%recv
(function).
%recvfrom
(function).
%res-ndestroy
(function).
%res-ninit
(function).
%send
(function).
%sendto
(function).
%setsockopt
(function).
%shutdown-socket
(function).
%socket
(function).
%var-accessor-*errno*
(function).
(setf %var-accessor-*errno*)
(function).
*errno*
(symbol macro).
+arphrd-80211+
(constant).
+arphrd-ether+
(constant).
+arphrd-loopback+
(constant).
+arphrd-ppp+
(constant).
+einprogress+
(constant).
+ewouldblock+
(constant).
+f-getfl+
(constant).
+f-setfl+
(constant).
+fionbio+
(constant).
+iff-loopback+
(constant).
+iff-up+
(constant).
+o-nonblock+
(constant).
+siocgifbrdaddr+
(constant).
+siocgifhwaddr+
(constant).
+siocgifmtu+
(constant).
+siocgifnetmask+
(constant).
+sockaddr-storage+
(constant).
+socket-error+
(constant).
+syscall-error+
(constant).
can-frame-tclass
(class).
copy-poll-context
(function).
get-last-error
(function).
ifaddrs-tclass
(class).
ifmap-tclass
(class).
ifreq-tclass
(class).
invalid-socket-p
(function).
make-poll-context
(function).
poll-context-p
(function).
pollfd-tclass
(class).
posix-error
(condition).
posix-error-code
(reader method).
res-state-tclass
(class).
set-nonblocking
(function).
sockaddr-can-tclass
(class).
socket-flags
(function).
(setf socket-flags)
(function).
strerror
(function).
tp-tclass
(class).
with-syscall-else-error
(macro).
fsocket/options.lisp
posix.lisp
(file).
fsocket
(system).
multicast-join
(function).
open-multicast-socket
(function).
open-tcp-connection
(function).
open-tcp-socket
(function).
open-udp-socket
(function).
socket-option
(generic function).
(setf socket-option)
(generic function).
get-socket-option-boolean
(function).
get-socket-option-int32
(function).
get-socket-option-uint32
(function).
group-req-tclass
(class).
set-socket-option-boolean
(function).
set-socket-option-int32
(function).
set-socket-option-pointer
(function).
set-socket-option-uint32
(function).
timeval-tclass
(class).
fsocket/streams.lisp
options.lisp
(file).
fsocket
(system).
close
(method).
make-tcp-stream
(function).
stream-element-type
(method).
stream-finish-output
(method).
stream-force-output
(method).
stream-read-byte
(method).
stream-read-sequence
(method).
stream-write-byte
(method).
stream-write-sequence
(method).
tcp-stream
(class).
tcp-stream-fd
(reader method).
with-tcp-stream
(macro).
Packages are listed by definition order.
fsocket
cffi
.
common-lisp
.
adapter
(structure).
adapter-address
(reader).
(setf adapter-address)
(writer).
adapter-broadcast
(reader).
(setf adapter-broadcast)
(writer).
adapter-index
(reader).
(setf adapter-index)
(writer).
adapter-mtu
(reader).
(setf adapter-mtu)
(writer).
adapter-name
(reader).
(setf adapter-name)
(writer).
adapter-netmask
(reader).
(setf adapter-netmask)
(writer).
adapter-status
(reader).
(setf adapter-status)
(writer).
adapter-type
(reader).
(setf adapter-type)
(writer).
adapter-unicast
(reader).
(setf adapter-unicast)
(writer).
close-poll
(function).
close-socket
(function).
doevents
(macro).
fsocket-error
(condition).
fsocket-short-buffer
(condition).
get-host-name
(function).
get-name-servers
(function).
list-adapters
(function).
loopback-p
(function).
make-can-interface
(function).
make-can-packet
(function).
make-sockaddr-in
(function).
make-sockaddr-in6
(function).
make-tcp-stream
(function).
multicast-join
(function).
open-multicast-socket
(function).
open-poll
(function).
open-socket
(function).
open-tcp-connection
(function).
open-tcp-socket
(function).
open-udp-socket
(function).
parse-can-packet
(function).
poll
(function).
poll-context
(structure).
poll-context-fds
(reader).
(setf poll-context-fds)
(writer).
poll-event
(function).
poll-event-p
(function).
poll-events
(function).
poll-find
(function).
poll-register
(function).
poll-unregister
(function).
pollfd
(class).
pollfd-events
(generic reader).
(setf pollfd-events)
(generic writer).
pollfd-fd
(generic reader).
(setf pollfd-fd)
(generic writer).
pollfd-revents
(generic reader).
(setf pollfd-revents)
(generic writer).
sockaddr-in
(function).
sockaddr-in
(structure).
sockaddr-in-addr
(reader).
(setf sockaddr-in-addr)
(writer).
sockaddr-in-p
(function).
sockaddr-in-port
(reader).
(setf sockaddr-in-port)
(writer).
sockaddr-in6
(function).
sockaddr-in6
(structure).
sockaddr-in6-addr
(reader).
(setf sockaddr-in6-addr)
(writer).
sockaddr-in6-p
(function).
sockaddr-in6-port
(reader).
(setf sockaddr-in6-port)
(writer).
sockaddr-string
(function).
sockaddr=
(function).
socket-accept
(function).
socket-bind
(function).
socket-connect
(function).
socket-listen
(function).
socket-name
(function).
socket-option
(generic function).
(setf socket-option)
(generic function).
socket-peer
(function).
socket-recv
(function).
socket-recvfrom
(function).
socket-send
(function).
socket-sendto
(function).
socket-shutdown
(function).
string-sockaddr
(function).
tcp-stream
(class).
with-can-socket
(macro).
with-poll
(macro).
with-socket
(macro).
with-tcp-connection
(macro).
with-tcp-socket
(macro).
with-udp-socket
(macro).
%accept
(function).
%bind
(function).
%close
(function).
%connect
(function).
%fcntl
(function).
%freeifaddrs
(function).
%get-domain-name
(function).
%get-host-name
(function).
%getifaddrs
(function).
%getpeername
(function).
%getsockname
(function).
%getsockopt
(function).
%if-nametoindex
(function).
%ioctl
(function).
%listen
(function).
%poll
(function).
%read
(function).
%recv
(function).
%recvfrom
(function).
%res-ndestroy
(function).
%res-ninit
(function).
%send
(function).
%sendto
(function).
%setsockopt
(function).
%shutdown-socket
(function).
%socket
(function).
%var-accessor-*errno*
(function).
(setf %var-accessor-*errno*)
(function).
%write
(function).
*errno*
(symbol macro).
+af-inet+
(constant).
+af-inet6+
(constant).
+af-unix+
(constant).
+arphrd-80211+
(constant).
+arphrd-ether+
(constant).
+arphrd-loopback+
(constant).
+arphrd-ppp+
(constant).
+can-raw+
(constant).
+einprogress+
(constant).
+ewouldblock+
(constant).
+f-getfl+
(constant).
+f-setfl+
(constant).
+fionbio+
(constant).
+iff-loopback+
(constant).
+iff-up+
(constant).
+ip-multicast-if+
(constant).
+ip-multicast-loop+
(constant).
+ip-multicast-ttl+
(constant).
+ip6-multicast-if+
(constant).
+ip6-multicast-loop+
(constant).
+ipproto-ip+
(constant).
+ipproto-ip6+
(constant).
+ipproto-tcp+
(constant).
+ipproto-udp+
(constant).
+ipv6-multicast-hops+
(constant).
+mcast-join-group+
(constant).
+o-nonblock+
(constant).
+pf-can+
(constant).
+siocgifbrdaddr+
(constant).
+siocgifhwaddr+
(constant).
+siocgifindex+
(constant).
+siocgifmtu+
(constant).
+siocgifname+
(constant).
+siocgifnetmask+
(constant).
+siocgstamp+
(constant).
+so-acceptconn+
(constant).
+so-broadcast+
(constant).
+so-error+
(constant).
+so-rcvbuf+
(constant).
+so-rcvtimeo+
(constant).
+so-reuseaddr+
(constant).
+so-sndbuf+
(constant).
+so-sndtimeo+
(constant).
+sock-dgram+
(constant).
+sock-raw+
(constant).
+sock-stream+
(constant).
+sockaddr-storage+
(constant).
+socket-error+
(constant).
+sol-socket+
(constant).
+syscall-error+
(constant).
+tcp-nodelay+
(constant).
adapter-p
(function).
can-frame-tclass
(class).
can-interface
(structure).
can-interface-name
(reader).
(setf can-interface-name)
(writer).
can-interface-p
(function).
can-packet
(structure).
can-packet-data
(reader).
(setf can-packet-data)
(writer).
can-packet-id
(reader).
(setf can-packet-id)
(writer).
can-packet-origin
(reader).
(setf can-packet-origin)
(writer).
can-packet-p
(function).
can-packet-timestamp
(reader).
(setf can-packet-timestamp)
(writer).
copy-adapter
(function).
copy-can-interface
(function).
copy-can-packet
(function).
copy-poll-context
(function).
copy-sockaddr-in
(function).
copy-sockaddr-in6
(function).
dotted-quad-p
(function).
dotted-quad-to-inaddr
(function).
fsocket-error-msg
(generic reader).
get-last-error
(function).
get-socket-option-boolean
(function).
get-socket-option-int32
(function).
get-socket-option-uint32
(function).
group-req-tclass
(class).
htonl
(function).
htons
(function).
ifaddrs-tclass
(class).
ifmap-tclass
(class).
ifreq-tclass
(class).
inaddr-to-dotted-quad
(function).
invalid-socket-p
(function).
make-adapter
(function).
make-poll-context
(function).
ntohs
(function).
poll-context-p
(function).
pollfd-tclass
(class).
posix-error
(condition).
posix-error-code
(generic reader).
res-state-tclass
(class).
set-nonblocking
(function).
set-socket-option-boolean
(function).
set-socket-option-int32
(function).
set-socket-option-pointer
(function).
set-socket-option-uint32
(function).
sockaddr-can-tclass
(class).
sockaddr-in-tclass
(class).
sockaddr-in6-flowinfo
(reader).
(setf sockaddr-in6-flowinfo)
(writer).
sockaddr-in6-scopeid
(reader).
(setf sockaddr-in6-scopeid)
(writer).
sockaddr-in6-tclass
(class).
sockaddr-un-tclass
(class).
socket-flags
(function).
(setf socket-flags)
(function).
strerror
(function).
tcp-stream-fd
(generic reader).
timeval-tclass
(class).
tp-tclass
(class).
translate-sockaddr-family
(function).
translate-sockaddr-from-foreign
(function).
with-syscall-else-error
(macro).
with-tcp-stream
(macro).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Evaluate the POLL-FORM and iterate over each of the pollfds with events pending.
On each iteration, POLLFD will be bound to the associated pollfd strcuture and EVENTS will be bound
to a list of symbols naming each pending event.
Evaludate BODY with VAR bound to a poll context.
Execute the body ensuring the socket bound to VAR is closed.
Evaluate BODY with VAR bound to a connected TCP socket.
VAR ::= variable
ADDR ::= address to connect to.
Evaluate BODY with VAR bound to a listening TCP socket.
VAR ::= variable that holds the listening TCP socket.
PORT ::= port to bind socket to, defaults to the wildcard port 0.
Evaludate BODY with VAR bound to a UDP socket.
VAR ::= variable that holds the socket.
PORT ::= the port to bind VAR to, defaults to the wildcard port 0.
mtu
.
name
.
type
.
Close a poll context
Close the socket named by FD.
Returns a list of SOCKADDR-IN addresses for configured DNS name servers.
Returns true if the address references IPv4 127.0.0.1 or IPv6 ::1, false otherwise. ADDR ::= a SOCKADDR-IN or SOCKADDR-IN6 address structure.
Wrap a TCP connection with a gray-stream.
FD ::= TCP connection file descriptor.
Remarks: non-blocking file descriptors are not supported. This is because
the read-byte or read-sequence functions may signal an EWOULDBLOCK status
if they are not ready for a recv operation. However, if you can ensure a
recv would not block before calling read-byte or read-sequence functions
then non-blocking sockets should work.
READ-BYTE and SEND-BYTE are extremely inefficient because they call directly to recv() and send(). You should always buffer sends and call write-sequence whereever possible. There is almost never a reason to call read-byte, always call read-sequence into a buffer and wrap that in a stream.
Join the IPv4 multicast group on all ETHERNET interfaces.
Open a socket to be used to send IPv4 multicast datagrams.
ADAPTER ::= adapter to use as originating interface.
TTL ::= integer specifying multicast ttl.
LOOPBACK ::= if true, will receive datagrams sent from loopback device, if false disables loopback.
Returns the unbound socket.
Open a poll context.
Open a socket. Call CLOSE-SOCKET to free resources.
FAMILY ::= address family integer. Either :INET, :INET6, :UNIX or :CAN.
TYPE ::= socket type name, defaults to SOCK_DGRAM. Can be :datagram, :stream or :raw.
PROTOCOL ::= socket protocol integer. Usually doesn’t need to be specified.
Returns the socket file descriptor.
Open a TCP connection to ADDR.
Open a listening TCP socket bound to local port PORT, defaults to wildcard port.
Open a UDP socket bound to local port PORT, defaults to wildcard port.
Poll the sockets registered with the poll context for network events.
PC ::= poll context as returne from OPEN-POLL.
TIMEOUT ::= if supplied time in milliseconds to wait. If not supplied defaults to infinity.
Returns a list of registered pollfd structures. Users should check the REVENTS slot for pending events.
fds
.
Map an event name to an event flag or vice versa.
Event predicate.
EVENT ::= event integer.
NAME ::= event name to test. If not supplied, indicates whether any event is pending.
Map an event integer to a list of event names, or a list of event names to an event integer.
Lookup the pollfd for the file descriptor.
PC ::= poll context.
FD ::= file desctipror.
Returns the pollfd with the matching file descriptor if found.
Register a pollfd descriptor with a poll context.
Unregister a pollfd descriptor from a poll context.
Allocate a SOCKADDR-IN address structure.
INADDR ::= a vector of 4 octets specifying the internet address. May be
entered in the "dotted quad" string format.
If not supplied the wildcard address is used.
PORT ::= integer specifying the port number. If not supplied port 0 will be used.
Returns a new SOCKADDR-IN structure.
addr
.
port
.
addr
.
port
.
Generate a string of format a.b.c.d:port from the address.
Accept a connection from the listening socket.
SOCK ::= listening socket.
Returns (values conn addr) where
CONN ::= new connected socket.
ADDR ::= address of the connected socket.
If the socket is in non-blocking mode and the operation would block returns nil. A :POLLIN event indicates a subsequent socket-accept will complete immediately.
Bind the socket to the local address/interface.
FD ::= socket file descriptor.
ADDR ::= local address or can interface. Can be SOCKADDR-IN, SOCKADDR-IN6 or string for internet sockets; must be of type CAN-INTERFACE for can sockets
Connect the socket to the remote address.
SOCK :: socket.
ADDR ::= remote address.
Returns true if the operation completed successfully.
If the socket is in non-blocking mode and the operation would block returns NIL.
A :POLLOUT event indicates a subsequent socket-connect will complete immediately.
Start the socket listening.
Get the address to which the socket has been bound. FD ::= socket as returned from OPEN-SOCKET. Returns a SOCKADDR-IN or SOCKADDR-IN6 structure.
Receive data from the socket.
FD ::= socket.
BUFFER ::= octet vector, foreign pointer or can-frame that receives data.
START ::= buffer start index.
END ::= buffer end index.
Retuns the number of bytes actually received, which can be less than the number requested.
Receive data from the socket.
FD ::= socket.
BUFFER ::= octet vector or foreign pointer.
START ::= start index.
END ::= end index.
Returns (values count addr) where
COUNT ::= number of octets actually received, which can be less tha nthe number requested.
ADDR ::= remote address or can-interface from which the data was received.
Send a buffer on the connected socket.
SOCK ::= connected socket.
BUFFER ::= octet vector, foreign pointer or can-frame.
START ::= start index of buffer.
END ::= end index of buffer.
Returns the number of bytes actually sent, which can be less than the requested length.
Send data to the address on the socket.
FD ::= socket.
ADDR ::= local address or can interface. Can be SOCKADDR-IN, SOCKADDR-IN6 or string for internet sockets must be of type CAN-INTERFACE for can sockets.
ADDR ::= destination address, either a SOCKADDR-IN or SOCKADDR-IN6 structure or a can-interface.
START ::= buffer start index.
END ::= buffer end index.
Returns the number of octets actually sent, which can be less than the number requested.
Shutdown traffic on the TCP socket.
HOW ::= :SEND to stop sending, :RECEIVE to stop receiving, :BOTH to stop both.
Parses a string in the format a.b.c.d[:port] i.e. a dotted quad with optional port. If the port is not specified it defaults to 0.
Get a socket option.
SOCK ::= socket.
LEVEL ::= symbol naming a level.
OPTION ::= symbol naming a socket option.
Returns the value of the named option.
(eql :tcp)
) (option (eql :nodelay)
)) ¶(eql :ip)
) (option (eql :ip-multicast-if)
)) ¶(eql :socket)
) (option (eql :rcvtimeo)
)) ¶(eql :socket)
) (option (eql :error)
)) ¶(eql :socket)
) (option (eql :rcvbuf)
)) ¶(eql :socket)
) (option (eql :sndbuf)
)) ¶(eql :socket)
) (option (eql :reuseaddr)
)) ¶(eql :socket)
) (option (eql :broadcast)
)) ¶(eql :socket)
) (option (eql :acceptconn)
)) ¶Set a socket option.
SOCK ::= socket
LEVEL ::= symbol naming a socket level.
OPTION ::= symbol naming a socket option.
VALUE ::= value to set.
(eql :tcp)
) (option (eql :nodelay)
)) ¶(eql :ip)
) (option (eql :ip-multicast-loop)
)) ¶Set to use or not use loopback. Value is a boolean
(eql :ip)
) (option (eql :ip-multicast-if)
)) ¶Set the local interface to use. VALUE is a 4-octet array indicating the local address.
(eql :ip)
) (option (eql :ip-multicast-ttl)
)) ¶Set the mutlicast TTL. Value is an integer.
(eql :ip)
) (option (eql :mcast-join-group)
)) ¶VALUE ::= (index address) where INDEX is the interface index and ADDRESS is the multicast address to join.
(eql :socket)
) (option (eql :rcvtimeo)
)) ¶(eql :socket)
) (option (eql :sndtimeo)
)) ¶(eql :socket)
) (option (eql :rcvbuf)
)) ¶(eql :socket)
) (option (eql :sndbuf)
)) ¶(eql :socket)
) (option (eql :reuseaddr)
)) ¶(eql :socket)
) (option (eql :broadcast)
)) ¶(eql :socket)
) (option (eql :acceptconn)
)) ¶tcp-stream
) &key abort) ¶tcp-stream
)) ¶The element type is always OCTET by definition.
tcp-stream
)) ¶sb-gray
.
tcp-stream
)) ¶sb-gray
.
tcp-stream
)) ¶sb-gray
.
tcp-stream
) seq start end &key) ¶Returns the index of last byte read.
trivial-gray-streams
.
tcp-stream
) integer) ¶sb-gray
.
tcp-stream
) seq start end &key) ¶trivial-gray-streams
.
sockaddr-un-tclass
)) ¶cffi
.
sockaddr-in6-tclass
)) ¶cffi
.
pollfd-tclass
)) ¶cffi
.
sockaddr-in-tclass
)) ¶cffi
.
sockaddr-in
) (type sockaddr-in-tclass
) ptr) ¶cffi
.
sockaddr-in6
) (type sockaddr-in6-tclass
) ptr) ¶cffi
.
string
) (type sockaddr-un-tclass
) ptr) ¶cffi
.
pollfd-tclass
) ptr) ¶cffi
.
error
.
(quote nil)
:msg
This slot is read-only.
condition
.
structure-object
.
common-lisp
.
structure-object
.
fundamental-binary-input-stream
.
fundamental-binary-output-stream
.
trivial-gray-stream-mixin
.
TCP connection file descriptor/handle.
:fd
This slot is read-only.
Evaluate BODY in a context where VAR is bound to the TCP file descriptor.
name
.
data
.
id
.
Return a 32-bit big-endian integer
Return a 16-bit big-endian integer
Return a 16-bit integer converted from big-endian
fsocket-error
)) ¶msg
.
posix-error
)) ¶code
.
tcp-stream
)) ¶TCP connection file descriptor/handle.
fd
.
(quote 0)
:code
This slot is read-only.
structure-object
.
"any"
foreign-struct-type
.
translatable-foreign-type
.
foreign-struct-type
.
translatable-foreign-type
.
foreign-struct-type
.
translatable-foreign-type
.
foreign-struct-type
.
translatable-foreign-type
.
foreign-struct-type
.
translatable-foreign-type
.
foreign-struct-type
.
translatable-foreign-type
.
foreign-struct-type
.
translatable-foreign-type
.
foreign-struct-type
.
translatable-foreign-type
.
foreign-struct-type
.
translatable-foreign-type
.
foreign-struct-type
.
translatable-foreign-type
.
foreign-struct-type
.
translatable-foreign-type
.
foreign-struct-type
.
translatable-foreign-type
.
foreign-struct-type
.
translatable-foreign-type
.
Jump to: | %
(
A C D F G H I L M N O P S T W |
---|
Jump to: | %
(
A C D F G H I L M N O P S T W |
---|
Jump to: | *
+
A B C D E F I M N O P R S T U |
---|
Jump to: | *
+
A B C D E F I M N O P R S T U |
---|
Jump to: | A C E F G I O P R S T |
---|
Jump to: | A C E F G I O P R S T |
---|