open port with no network connection
[1/2] from: mh9831::comcast::net at: 16-Jul-2003 17:42
I've been playing with rebweb.r and webserv.r for local testing and they
work ok until I take my laptop off the network. Once I'm off the
network I get:
Access Error: Error opening socket listen port
Near: listen-port: open/lines join tcp://: port
This only happens in linux. On my Windows XP desktop, it works the same
whether connected or not.
I didn't think it was my linux setup because I have another small
webserver written in ruby that works fine in linux when disconnected
from the network. But then when I saw that rebol works in XP, I began
to suspect my environment in linux.
If I run ifconfig, I see the local loopback interface is configured.
I'm using View (not Pro) 1.2.1. Any ideas? Thanks.
mike
[2/2] from: antonr:iinet:au at: 17-Jul-2003 18:29
I don't know why, but this is what I've done before:
listen: attempt [open/lines/direct join tcp://: port]
if listen is none then I try to open again or quit.
I found this necessary on Windows though I can't
remember exactly why. :)
Anton.