forked from Wukix/usocket
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcmucl-sockets.txt
69 lines (41 loc) · 1.23 KB
/
cmucl-sockets.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
http://cvs2.cons.org/ftp-area/cmucl/doc/cmu-user/internet.html
$Id$
extensions:lookup-host-entry host
[structure]
host-entry
name aliases addr-type addr-list
[Function]
extensions:create-inet-listener port &optional kind &key :reuse-address :backlog :interface
=> socket fd
[Function]
extensions:accept-tcp-connection unconnected
=> socket fd, address
[Function]
extensions:connect-to-inet-socket host port &optional kind
=> socket fd
[Function]
extensions:close-socket socket
[Private function]
extensions::get-peer-host-and-port socket-fd
[Private function]
extentsions::get-socket-host-and-port socket-fd
There's currently only 1 condition to be raised:
SOCKET-ERROR (derived from SIMPLE-ERROR)
which has a SOCKET-ERRNO slot containing the unix error number.
[Function]
extensions:add-oob-handler fd char handler
[Function]
extensions:remove-oob-handler fd char
[Function]
extensions:remove-all-oob-handlers fd
[Function]
extensions:send-character-out-of-band fd char
[Function]
extensions:create-inet-socket &optional type
=> socket fd
[Function]
extensions:get-socket-option socket level optname
[Function]
extensions:set-socket-option socket level optname optval
[Function]
extensions:ip-string addr