When I tried the client-server example in the network/ports section of
the user guide I found that the client can only do one insert. The
next inserts are just ignored. Tests with a httpd confirm this.
rebol []
p: open tcp://myserver:80
msg: "GET /index.html HTTP/1.0^j^j"
insert p msg
while [data: copy p] [print data]
msg: "GET /public/index.html HTTP/1.0^j^j"
insert p msg
while [data: copy p] [print data]
close p
Only the first url is fetched and printed out. The second one fails
without a message. I suspect the tcp connection is closed
automatically.
Is there any method to maintain a persistent connection?