Hi Russ!
Thanks, your hint did the trick. I realized the spinning / was indicative
that the "server" was waiting for a client to call. I opened another
instance of REBOL and typed in the lines from the ref. doc. "A TCP
Conversation" to open remote, print first remote, then (I found I had
to )close remote. This resulted in the 'now output!!
I then created a loop of those lines and ran it 100 times (holding down the
enter button to react to the security box appearing over and over). The
server loop quit first, leaving a spinning / in the client instance of
REBOL. Eventually that timed out, I guess, then I closed 'remote.
Thanks again! In my PC I don't "telnet", as I use Internet Explorer and
Outlook Express for everything, ftp, etc etc. I haven't had occasion to net
with other computers, except my Amiga via the Amiga Explorer interconnect.
Russell, [EMAIL PROTECTED]
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, October 24, 1999 3:51 PM
Subject: [REBOL] Basic Seven Line Server: Re:
> Wow Russell, lots of stuff in that question :)
>
> I think you may have some confusion over what the "simple seven line
server"
> is all about. It's a "server" (in the TCP/IP client/host sense) not a web
> server (which I'm guessing you think it is from mention of IE). In fact,
it
> could be called a "time server," I guess.
>
> What you are seeing is just what it's meant to do: it sits and listens for
> connections to it on port 8001. When a connection is made, it sends the
> client the date/time ('now) and closes the connection. It will do this
100
> times ('loop 100) until it stops showing the spinning line and ends.
>
> If you have the spinning line showing, try TELNET'ing to "localhost" on
port
> "8001" to establish a connection to this "server" and see it do its thing.
> Change that loop counter to something like 5 and watch it quit after five
> connnections.
>
> I think if you see it do what it's intended to do and relate what you see
to
> the code, that might resolve some of your other questions.
>
> Russ
>
> -----------
> At 02:57 PM 10/24/99 -0700, you wrote:
> >I was able to get two instances of REBOL to talk to each other (in line
> >mode) by using the stuff in
> >www.rebol.com/howto.html
> >in the TCP Networking Ports chapter, "A TCP Conversation" section.
Entering
> >the lines about the listen port in instance 1 and for the remote port in
> >instance 2.
> >
> >I'm using a PC, a cable modem, and, in user.r, my set-net reads:
> >
> >set-net [ [EMAIL PROTECTED] mail none none none ]
> >
> >Now, here's my problem: I've tried to implement the "Basic Seven Line
> >Server" section from the above HowTo document by typing the doc's code
into
> >one of the REBOL instances. But when I finish entering the loop's
execution
> >block I get the rotating slash symbol forever, and have to use
cntl-alt-del
> >to stop that instance of REBOL.
> >
> >Am I trying to do something impossible with a cable modem, or what? I
think
> >I'm bypassing cox@home's server and "going directly on the net", if that
> >makes any sense. With IE-5 and not using Cox's supplied software, I've
been
> >unable to use their server, which chaches frequently requested URL's for
> >faster response.
> >
> >Any comments would be appreciated and would help my understanding of
REBOL's
> >messaging, which seems to be of paramount interest to most REBOLeers.
> >
> >Russell, [EMAIL PROTECTED]
> >
> >
> >
>