[racket] C:\Program Files (x86)\Racket\collects\web-server\private\dispatch-server-unit.rkt:96:6: tcp-write: error writing system error: Unknown error; errno=10053
program below does direct browser to the site requested but at same time also gives an error.
How can I work around this error ? Used this with chrome as default browser. Is there a way to select different browsers without having to change default browser setting?
#lang racket
(require (planet esilkensen/yaml:2:=1))
(require (planet dyoo/browser-evaluate:1:0))
(require (planet gh/sha:1:1))
(define (go-site url)
(let* ( (code (format " window.location.href ='~a'; $SUCC(1);" url )) )
(write (format "exec ~a" code ))
(js-evaluate code ) ))
;
(go-site "https://www.coursera.org/")
fails with
(evaluated "" "1" 1 "Chrome 25/Windows")
. . C:\Program Files (x86)\Racket\collects\web-server\private\dispatch-server-unit.rkt:96:6: tcp-write: error writing
system error: Unknown error; errno=10053
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20130312/6c003576/attachment.html>