Hi!
This file
/**/
OPTIONS RESULTS
ADDRESS MIAMI.1 ISONLINE
SAY RC
says only 1 when the ppp0 is online. But it says 0 when one of my other
ppp interfaces are only.
This is crap when it comes to the new MicroDot-II 1.3.14 online detection
routine - I guess MicroDot uses some Miami API function that works similar
to the ARexx command, correct me if I am wrong.
All my ppp-interfaces are different ISP setups. When one of it is online
it means that I have internet access. But right now I can use MicroDot-II
1.3.14 only when I use the ppp0 interface - its the GUI default interface,
and I think that is what matters, didnt test it -, which isn't always the
best alternative. Otherwise MicroDot-II always queus mails and refuses to
send or recieve mails since it thinks its offline.
I would like when the ISONLINE stuff is corrected / extended a little bit.
ISONLINE returns 1 when ANY interface is online. That IMHO is really the
right answer to the question whether MiamiDx is online! It is online when
ANY of its interfaces is online.
ISONLINE INTERNET shows 1 when ANY interface is online that has an
connection to the internet, wether thats ppp or ether. So I should be able
to tell Miami Deluxe which interfaces have internet connections. So I have
a internet flag and when I have some localnet not connected to the
internet I can tell Miami that this interface does not have internet
connection. This should really be a user setable flag since I guess Miami
is not able to detect that automatically easily. OK, it could try to reach
some well known IP address on the internet, but IMHO thats crap.
And then there should be a possibility to do an ISONLINE INTERFACE ppp5
for example. This may be useful for scripts the user may want to write.
All what MicroDot-II then has to do is: checking ISONLINE INTERNET.
This would be a solution that is most likely to work with all or at least
most mutiple interfaces setups. At least it would be better than the
current approach I think.
Cause IMHO this approach is crap when I want to use MicroDot-II 1.3.14. A
work around would be to set the interface I want to go online to GUI
default, but I see no possible way how I can do that automatically via
ARexx scripting for example. I guess its the GUI default setting, that
makes the difference, I did not test it.
There needs to be a solution for that, otherwise Miami Deluxe users can't
use the new MicroDot-II version properly. And IMHO MicroDot does nothing
wrong here, when ISONLINE returns 0 it has to assume that Miami Deluxe is
not online, but this is plain wrong when any of its interfaces actually IS
online. But then it could also be a localnet interface without internet
access being online and thus it would be good to have a user setable
internet flag and internet option for ISONLINE and the corresponding Miami
API functions.
IMHO there really should be some clever way to do this online detection
and internet online detection. This has been so annoying for a so long
time. And when that standard TCP/IP BSD socket stuff isn't intelligent
enough to handle that, there should be a some Miami Deluxe and Genesis API
functions for that, maybe even standardized between that two
TCP/IP-stacks.
--
Martin 'Helios' Steigerwald - http://home.pages.de/~helios
PGP: http://home.pages.de/~helios/autor/wie-erreichen.html
!!! New email address: [EMAIL PROTECTED] !!!
________________________________________________________________
MicroDot-II Mailing List - Info & Archive: http://www.vapor.com/
For Listserver Help: <[EMAIL PROTECTED]>, "HELP"
To Unsubscribe: <[EMAIL PROTECTED]>, "UNSUBSCRIBE"