Introduction
Introduction Statistics Contact Development Disclaimer Help
tclisp-sockets.txt - clic - Clic is an command line interactive client for goph…
git clone git://bitreich.org/clic/ git://hg6vgqziawt5s4dj.onion/clic/
Log
Files
Refs
Tags
LICENSE
---
tclisp-sockets.txt (1480B)
---
1 http://clisp.cons.org/impnotes.html#socket
2
3 (SOCKET:SOCKET-SERVER &OPTIONAL [port-or-socket])
4 (SOCKET:SOCKET-SERVER-HOST socket-server)
5 (SOCKET:SOCKET-SERVER-PORT socket-server)
6 (SOCKET:SOCKET-WAIT socket-server &OPTIONAL [seconds [microseconds]])
7 (SOCKET:SOCKET-ACCEPT socket-server &KEY :ELEMENT-TYPE :EXTERNAL-FORMAT …
8 (SOCKET:SOCKET-CONNECT port &OPTIONAL [host] &KEY :ELEMENT-TYPE :EXTERNA…
9 (SOCKET:SOCKET-STATUS socket-stream-or-list &OPTIONAL [seconds [microsec…
10 (SOCKET:SOCKET-STREAM-HOST socket-stream)
11 (SOCKET:SOCKET-STREAM-PORT socket-stream)
12 (SOCKET:SOCKET-SERVICE-PORT &OPTIONAL service-name (protocol "tcp"))
13 (SOCKET:SOCKET-STREAM-PEER socket-stream [do-not-resolve-p])
14 (SOCKET:SOCKET-STREAM-LOCAL socket-stream [do-not-resolve-p])
15 (SOCKET:SOCKET-STREAM-SHUTDOWN socket-stream direction)
16 (SOCKET:SOCKET-OPTIONS socket-server &REST {option}*)
17
18
19 (posix:resolve-host-ipaddr &optional host)
20
21 with the host-ent structure:
22
23 name - host name
24 aliases - LIST of aliases
25 addr-list - LIST of IPs as dotted quads (IPv4) or coloned octets (IPv6)
26 addrtype - INTEGER address type IPv4 or IPv6
27
28
29 Errors are of type
30
31 SYSTEM::SIMPLE-OS-ERROR
32 with a 1 element (integer) SYSTEM::$FORMAT-ARGUMENTS list
33
34 This integer stores the OS error reported; meaning WSA* codes on Win32
35 and E* codes on *nix, only: unix.lisp in CMUCL shows
36 BSD, Linux and SRV4 have different number assignments for the same
37 E* constant names :-(
38
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.