allegro-socket.txt - clic - Clic is an command line interactive client for gopher written in Common LISP (HTM) git clone git://bitreich.org/clic/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/clic/ (DIR) Log (DIR) Files (DIR) Refs (DIR) Tags (DIR) README (DIR) LICENSE --- allegro-socket.txt (1438B) --- 1 2 3 (require :sock) 4 5 accept-connection (sock passive-socket) &key wait Generic function. 6 dotted-to-ipaddr dotted &key errorp Function. 7 ipaddr-to-dotted ipaddr &key values Function. 8 ipaddr-to-hostname ipaddr Function. 9 lookup-hostname hostname 10 lookup-port portname protocol Function. 11 make-socket &key type format address-family connect &allow-other-keys Function. 12 with-pending-connect &body body Macro. 13 receive-from (sock datagram-socket) size &key buffer extract Generic function. 14 send-to sock &key 15 shutdown sock &key direction 16 socket-control stream &key output-chunking output-chunking-eof input-chunking 17 socket-os-fd sock Generic function. 18 19 remote-host socket Generic function. 20 local-host socket Generic function. 21 local-port socket 22 23 remote-filename socket 24 local-filename socket 25 remote-port socket 26 socket-address-family socket 27 socket-connect socket 28 socket-format socket 29 socket-type socket 30 31 errors 32 33 :address-in-use Local socket address already in use 34 :address-not-available Local socket address not available 35 :network-down Network is down 36 :network-reset Network has been reset 37 :connection-aborted Connection aborted 38 :connection-reset Connection reset by peer 39 :no-buffer-space No buffer space 40 :shutdown Connection shut down 41 :connection-timed-out Connection timed out 42 :connection-refused Connection refused 43 :host-down Host is down 44 :host-unreachable Host is unreachable 45 :unknown Unknown error 46