[REBOL] Windows ME TCP woes with Rugby
From: koopmans:itr:ing:nl at: 6-Aug-2001 13:20
As you may know I have implemented a simple request broker for Rebol, Rugby (rugby3.r
in the script lib).
While testing some more I noticed that the client part under Windows ME has some problems,
it sometimes doesn't read anything at all. The server part may be running on any machine,
on any platform.
You can observe the effect on Windows ME by starting two consoles and type the following:
do read http://www.reboltech.com/library/scripts/rugby3.r serve [echo] ;in console 1
do read http://www.reboltech.com/library/scripts/rugby3.r rexec [ echo "Duh"] ; in console
On linux, NT4, 2000, Solaris: no problem.
My question: does it go wrong on any other platform?
This is what rugby-server does: it opens a server port in direct and no-wait mode. It
then accepts connections, set the mode to no-wait, reads the message, does it, and writes
back. As soon as the message is written, it closes the port.
The client does an open/direct, sends a message, and reads the result with a blocking
copy unless otherwise told.