daytime protocol
[1/2] from: cb::cbwilson::com at: 15-May-2003 17:50
I am getting a network timeout when I do read daytime://10.x.x.x where the
IP address is a local box running daytime server on Linux 2.2.14. On a
protocol analyzer I see the request and the server response that has the
daytime value in it followed by a TCP ack from the machine running the rebol
script. But rebol seems to be expecting something more??? Anyone know what's
going on?
TIA
CB Wilson
[cb--cbwilson--com]
[2/2] from: greggirwin:mindspring at: 15-May-2003 22:54
Hi CB,
CW> I am getting a network timeout when I do read daytime://10.x.x.x where the
CW> IP address is a local box running daytime server on Linux 2.2.14. On a
CW> protocol analyzer I see the request and the server response that has the
CW> daytime value in it followed by a TCP ack from the machine running the rebol
CW> script. But rebol seems to be expecting something more??? Anyone know what's
CW> going on?
I don't, but Ladislav wrote a little daytime server. Maybe you could
try running it in place of the other one to see if it works. (it's
included below)
-- Gregg
REBOL [
Title: "Rebol Daytime Server"
Date: 4-Dec-2002/13:21
Version: 1.0.0
File: %daytime.r
Author: "Ladislav Mecir"
Purpose: {A simple Rebol Daytime Server,
answers are sent in Rebol date format.
}
Email: [lmecir--mbox--vol--cz]
Web: http://www.rebolforces.com/~ladislav
Category: [web net 3]
Reb: reb://Sites/Ladislav
]
listen-port: open tcp://:13 ; daytime connections listen port
forever [
daytime-port: first wait listen-port
insert daytime-port now
close daytime-port
]