File: active-sockets-apis.txt

package info (click to toggle)
acl2 7.2dfsg-3
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 198,968 kB
  • ctags: 182,300
  • sloc: lisp: 2,415,261; ansic: 5,675; perl: 5,577; xml: 3,576; sh: 3,255; cpp: 2,835; makefile: 2,440; ruby: 2,402; python: 778; ml: 763; yacc: 709; csh: 355; php: 171; lex: 162; tcl: 44; java: 24; asm: 23; haskell: 17
file content (75 lines) | stat: -rw-r--r-- 1,206 bytes parent folder | download | duplicates (13)
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
69
70
71
72
73
74
75
                                                          -*- text -*-

A document to summarizing which API's of the different implementations
are associated with 'Step 1'.

Interface to be implemented in step 1:

 - socket-connect
 - socket-close
 - get-host-by-address
 - get-hosts-by-name

(and something to do with errors; maybe move this to step 1a?)

SBCL
====

  sockets:
  - socket-bind
  - make-instance 'inet-socket
  - socket-make-stream
  - socket-connect (ip vector-quad) port
  - socket-close

  DNS name resolution:
  - get-host-by-name
  - get-host-by-address
  - ::host-ent-addresses
  - host-ent-name


CMUCL
=====

  sockets:
  - ext:connect-to-inet-socket (ip integer) port
  - sys:make-fd-stream
  - ext:close-socket

  DNS name resolution:
  - ext:host-entry-name
  - ext::lookup-host-entry
  - ext:host-entry-addr-list
  - ext:lookup-host-entry


ABCL
====

  sockets
  - ext:socket-connect (hostname string) port
  - ext:get-socket-stream
  - ext:socket-close


clisp
=====

  sockets
  - socket-connect port (hostname string)
  - close (socket)


Allegro
=======

  sockets
  - make-socket
  - socket-connect
  - close

  DNS resolution
  - lookup-hostname
  - ipaddr-to-hostname