File: active-sockets-apis.txt

package info (click to toggle)
acl2 8.0dfsg-1
  • links: PTS
  • area: main
  • in suites: buster
  • size: 226,956 kB
  • sloc: lisp: 2,678,900; ansic: 6,101; perl: 5,816; xml: 3,586; cpp: 2,624; ruby: 2,576; makefile: 2,443; sh: 2,312; python: 778; yacc: 764; ml: 763; awk: 260; csh: 186; php: 171; lex: 165; tcl: 44; java: 41; 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