CS3700-project2/router.rkt

17 lines
288 B
Racket
Raw Normal View History

2020-01-29 03:09:51 +00:00
#lang racket
;; Str [Listof Str] ->
;; Router main
(define (run-router asn ip-addrs)
(displayln asn)
(map displayln ip-addrs)
(void))
(module+ main
(command-line
#:program "router"
#:args
(asn . ip-addrs)
;; Run the router
(run-router asn ip-addrs)))