Megatest

Check-in [37d4c849bc]
Login
Overview
Comment:wip
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | v1.70-captain-ulex | v1.70-defunct-try
Files: files | file ages | folders
SHA1: 37d4c849bcfa841b6c2cd830bebd3cc230a58744
User & Date: mrwellan on 2020-01-08 18:24:36
Other Links: branch diff | manifest | tags
Context
2020-01-09
16:43
wip check-in: 6a12a67ab3 user: mrwellan tags: v1.70-captain-ulex, v1.70-defunct-try
2020-01-08
18:24
wip check-in: 37d4c849bc user: mrwellan tags: v1.70-captain-ulex, v1.70-defunct-try
14:41
wip check-in: 652f6c9323 user: mrwellan tags: v1.70-captain-ulex, v1.70-defunct-try
Changes

Modified ulex/ulex.scm from [9d27b5b698] to [b700ca74a7].

21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
;; ABOUT:
;;   See README in the distribution at https://www.kiatoa.com/fossils/ulex
;; NOTES:
;;   Why sql-de-lite and not say, dbi?  - performance mostly, then simplicity.
;;
;;======================================================================

;; (use rpc pkts mailbox sqlite3)

(module ulex
    *

(import scheme posix chicken data-structures ports extras files mailbox)
(import srfi-18 pkts matchable regex
	typed-records srfi-69 srfi-1







|







21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
;; ABOUT:
;;   See README in the distribution at https://www.kiatoa.com/fossils/ulex
;; NOTES:
;;   Why sql-de-lite and not say, dbi?  - performance mostly, then simplicity.
;;
;;======================================================================

(use mailbox)

(module ulex
    *

(import scheme posix chicken data-structures ports extras files mailbox)
(import srfi-18 pkts matchable regex
	typed-records srfi-69 srfi-1
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
    ))

;; connect to a specific dbfile
(define (connect udata dbfname dbtype)
  udata)

(define (ping udata host-port)
  (let ((cookie (make-cookie udata)))
    (send udata host-port 'ping "just pinging" (conc (current-seconds)))
    ;; (mailbox-rec
    ))

;;======================================================================
;; network utilities
;;======================================================================

(define (rate-ip ipaddr)







|
|
|







77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
    ))

;; connect to a specific dbfile
(define (connect udata dbfname dbtype)
  udata)

(define (ping udata host-port)
  (let* ((cookie (make-cookie udata))
	 (res (send-receive udata host-port 'ping "just pinging" (conc (current-seconds)))))
    (print "got res=" res)
    ))

;;======================================================================
;; network utilities
;;======================================================================

(define (rate-ip ipaddr)