[REBOL] Re: get-word in a tcp port description
From: petr:krenzelok:trz:cz at: 22-May-2001 6:52
Chris Wright wrote:
> I'm not sure how to do this:
>
> server: "machine-1"
> listen-port: open/lines tcp://:server:8000
1) you don't open listen-port using naming convention. If your intention
is to really open listen port, then you have to use:
listen-port: open/lines tcp://:8000
> This (obviously) doesn't work...what I want to get is
> listen-port: open/lines tcp://machine-1:8000
what about using 'join?
remote-port: open/lines join tcp:// [server ":8000"]
Should work, hope that helps :-)
Cheers,
-pekr-