-
Notifications
You must be signed in to change notification settings - Fork 145
Sb Bsd Sockets
Karsten Poeck edited this page Jun 19, 2022
·
1 revision
- No documentation provided.
- EXTERNAL CONSTANT No documentation provided.
- EXTERNAL CONSTANT No documentation provided.
- EXTERNAL CONSTANT No documentation provided.
- EXTERNAL CONSTANT No documentation provided.
- EXTERNAL CONSTANT No documentation provided.
- EXTERNAL CONSTANT No documentation provided.
- EXTERNAL SPECIAL-VARIABLE No documentation provided.
- EXTERNAL SPECIAL-VARIABLE No documentation provided.
- EXTERNAL SPECIAL-VARIABLE No documentation provided.
- EXTERNAL SPECIAL-VARIABLE No documentation provided.
- EXTERNAL SPECIAL-VARIABLE No documentation provided.
- EXTERNAL SPECIAL-VARIABLE No documentation provided.
- EXTERNAL CLASS
- EXTERNAL CLASS
Class representing TCP and UDP sockets.
Examples:
(make-instance 'inet-socket :type :stream :protocol :tcp)
(make-instance 'inet-socket :type :datagram :protocol :udp)
- EXTERNAL CLASS
Class representing local domain (AF_LOCAL) sockets, also known as unix-domain sockets.
- EXTERNAL CLASS
Common base class of all sockets, not meant to be directly instantiated.
- EXTERNAL CONDITION No documentation provided.
- EXTERNAL CONDITION No documentation provided.
- EXTERNAL CONDITION No documentation provided.
- EXTERNAL CONDITION No documentation provided.
- EXTERNAL CONDITION No documentation provided.
- EXTERNAL CONDITION No documentation provided.
- EXTERNAL CONDITION No documentation provided.
- EXTERNAL CONDITION No documentation provided.
- EXTERNAL CONDITION No documentation provided.
- EXTERNAL CONDITION No documentation provided.
- EXTERNAL CONDITION No documentation provided.
- EXTERNAL CONDITION No documentation provided.
- EXTERNAL CONDITION No documentation provided.
- EXTERNAL CONDITION No documentation provided.
- EXTERNAL CONDITION No documentation provided.
- EXTERNAL CONDITION No documentation provided.
- EXTERNAL CONDITION No documentation provided.
- EXTERNAL CONDITION
Common base class of socket related conditions.
- EXTERNAL CONDITION No documentation provided.
- EXTERNAL CONDITION No documentation provided.
- EXTERNAL FUNCTION
- ADDRESS
No documentation provided. - EXTERNAL FUNCTION
- HOST-NAME
Returns a HOST-ENT instance for HOST-NAME or throws some kind of condition. HOST-NAME may also be an IP address in dotted quad notation or some other weird stuff - see gethostbyname(3) for grisly details.
- EXTERNAL FUNCTION
- STRING-OR-SYMBOL
Calls getprotobyname
- EXTERNAL FUNCTION
- DOTTED-QUADS
Return a vector of octets given a string DOTTED-QUADS in the format "127.0.0.1"
- EXTERNAL FUNCTION
- WHERE
No documentation provided. - EXTERNAL FUNCTION
- WHERE
No documentation provided. - EXTERNAL FUNCTION
- SOCKET
No documentation provided. - EXTERNAL FUNCTION No documentation provided.
- EXTERNAL FUNCTION
- SOCKET
No documentation provided. - EXTERNAL FUNCTION No documentation provided.
- EXTERNAL FUNCTION
- SOCKET
No documentation provided. - EXTERNAL FUNCTION No documentation provided.
- EXTERNAL FUNCTION
- SOCKET
No documentation provided. - EXTERNAL FUNCTION No documentation provided.
- EXTERNAL FUNCTION
- SOCKET
No documentation provided. - EXTERNAL FUNCTION No documentation provided.
- EXTERNAL FUNCTION
- SOCKET
No documentation provided. - EXTERNAL FUNCTION No documentation provided.
- EXTERNAL FUNCTION
- SOCKET
No documentation provided. - EXTERNAL FUNCTION No documentation provided.
- EXTERNAL FUNCTION
- SOCKET
No documentation provided. - EXTERNAL FUNCTION No documentation provided.
- EXTERNAL FUNCTION
- SOCKET
No documentation provided. - EXTERNAL FUNCTION No documentation provided.
- EXTERNAL FUNCTION
- SOCKET
No documentation provided. - EXTERNAL GENERIC-FUNCTION
- HOST-ENT
- EXTERNAL GENERIC-FUNCTION
- OBJECT
No documentation provided. - EXTERNAL GENERIC-FUNCTION No documentation provided.
- EXTERNAL GENERIC-FUNCTION
- OBJECT
No documentation provided. - EXTERNAL GENERIC-FUNCTION No documentation provided.
- EXTERNAL GENERIC-FUNCTION
- OBJECT
No documentation provided. - EXTERNAL GENERIC-FUNCTION No documentation provided.
- EXTERNAL GENERIC-FUNCTION
- OBJECT
No documentation provided. - EXTERNAL GENERIC-FUNCTION No documentation provided.
- EXTERNAL GENERIC-FUNCTION
- SOCKET
Is SOCKET in non-blocking mode?
- EXTERNAL GENERIC-FUNCTION
Put SOCKET in non-blocking mode - or not, according to NON-BLOCKING-P
- EXTERNAL GENERIC-FUNCTION
- SOCKET
Perform the accept(2) call, returning a newly-created connected socket and the peer address as multiple values
- EXTERNAL GENERIC-FUNCTION
- SOCKET
- &REST
- ADDRESS
Bind SOCKET to ADDRESS, which may vary according to socket family. For the INET family, pass ADDRESS and PORT as two arguments; for FILE address family sockets, pass the filename string. See also bind(2)
- EXTERNAL GENERIC-FUNCTION
- SOCKET
- &KEY
- ABORT
Close SOCKET. May throw any kind of error that write(2) would have thrown. If SOCKET-MAKE-STREAM has been called, calls CLOSE on that stream instead
- EXTERNAL GENERIC-FUNCTION
- SOCKET
- &REST
- ADDRESS
Perform the connect(2) call to connect SOCKET to a remote PEER. No useful return value.
- EXTERNAL GENERIC-FUNCTION
- OBJECT
No documentation provided. - EXTERNAL GENERIC-FUNCTION
- OBJECT
No documentation provided. - EXTERNAL GENERIC-FUNCTION
- SOCKET
- BACKLOG
Mark SOCKET as willing to accept incoming connections. BACKLOG defines the maximum length that the queue of pending connections may grow to before new connection attempts are refused. See also listen(2)
- EXTERNAL GENERIC-FUNCTION
- SOCKET
- &REST
- ARGS
Find or create a STREAM that can be used for IO on SOCKET (which must be connected). ARGS are passed onto SB-SYS:MAKE-FD-STREAM.
- EXTERNAL GENERIC-FUNCTION
- SOCKET
Return the address (as vector of bytes) and port that the socket is bound to, as multiple values.
- EXTERNAL GENERIC-FUNCTION
- SOCKET
Return the socket's peer; depending on the address family this may return multiple values
- EXTERNAL GENERIC-FUNCTION
- OBJECT
No documentation provided. - EXTERNAL GENERIC-FUNCTION
- SOCKET
- BUFFER
- LENGTH
- &KEY
- OOB
- PEEK
- WAITALL
- ELEMENT-TYPE
Read LENGTH octets from SOCKET into BUFFER (or a freshly-consed buffer if NIL), using recvfrom(2). If LENGTH is NIL, the length of BUFFER is used, so at least one of these two arguments must be non-NIL. If BUFFER is supplied, it had better be of an element type one octet wide. Returns the buffer, its length, and the address of the peer that sent it, as multiple values. On datagram sockets, sets MSG_TRUNC so that the actual packet length is returned even if the buffer was too small
- EXTERNAL GENERIC-FUNCTION
- SOCKET
- BUFFER
- LENGTH
- &KEY
- ADDRESS
- EXTERNAL-FORMAT
- OOB
- EOR
- DONTROUTE
- DONTWAIT
- NOSIGNAL
- CONFIRM
- MORE
Send length octets from buffer into socket, using sendto(2). If buffer is a string, it will converted to octets according to external-format& If length is nil, the length of the octet buffer is used. The format of address depends on the socket type (for example for inet domain sockets it would be a list of an ip address and a port). If no socket address is provided, send(2) will be called instead. Returns the number of octets written.
- EXTERNAL GENERIC-FUNCTION
- OBJECT
No documentation provided.
- EXTERNAL CONSTANT