I think you can't, but you don't have to
care about OS assigned ports, you can put and get data
from your 'z port, see how-to
karol
[EMAIL PROTECTED] wrote:
> As an addition to this message, how would one do the following?
>
> When one connects to a remote IP address, we get a local port numb
As an addition to this message, how would one do the following?
When one connects to a remote IP address, we get a local port number as well
as a remote port number. How do I find out what the local port number is?
For example:
>> z: open tcp://192.168.0.1:21
>> probe z
make object! [
sche
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 19, 2000 11:00 PM
Subject: [REBOL] using tcp:// with an unknown port Re:(2)
> [EMAIL PROTECTED] wrote:
> > Hi Deryk,
> >
> > Not sure if this is what you mean o
[EMAIL PROTECTED] wrote:
> Hi Deryk,
>
> Not sure if this is what you mean or not..
>
> If no port-id is specified, an available port will be allocated
> (This example works in Rebol/View)
>
> my-conn: open tcp://
> my-conn/port-id
> ==2664
> >> my-conn2: open/lines tcp://
> >> my-conn2/port-id
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 19, 2000 6:55 PM
Subject: [REBOL] using tcp:// with an unknown port
> I am not able to locate anything in regards to how to make Rebol open a
> port with no known number.
>
> For example, we have a