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