File: active-sockets-apis.txt

package info (click to toggle)
acl2 8.5dfsg-5
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 991,452 kB
  • sloc: lisp: 15,567,759; javascript: 22,820; cpp: 13,929; ansic: 12,092; perl: 7,150; java: 4,405; xml: 3,884; makefile: 3,507; sh: 3,187; ruby: 2,633; ml: 763; python: 746; yacc: 723; awk: 295; csh: 186; php: 171; lex: 154; tcl: 49; 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