Hi Thomas and all,

had a look into the docfile. It seems that local_port is just a number
to separate all open connections. I didn't test it but I guess this
means You can have up to 10 (0..9) open connections.

Regards Joerg

On Fri, 25 Jan 2002 04:26:07 -0500 (EST), Thomas Mueller wrote:

> Excerpt from Joerg Dietze quoting documentation from NETBASIC:

>>  CONNECT local_port, server_port, server_name, mode
>   local_port is an integer value between 0 and 9, similiar to the
>   file number used in the file functions
>   server_port is a real port number , e.g 80 for http or 23 for telnet
>   server_name is a string with either the name of the server or
>   its IP-adress.
>   mode is a string. Possible modes are "a" for ascii mode or
>   "b" for binary mode.

> I don't want to quote 100 lines, but how is the local_port number determined,
> especially if DOS and the BIOS don't recognize the port by an integer between 0
> and 9?  Like maybe a modem at base 0xd400 IRQ 11, or even base 0x2e8 IRQ 5?  Is
> there a form of the OPEN command that dials the modem and installs a packet
> driver?

-- Arachne V1.70, NON-COMMERCIAL copy, http://arachne.cz/

Reply via email to