How do Rev internet libraries work?

Bernard Devlin bdrunrev at gmail.com
Wed Apr 8 13:00:38 EDT 2009


Hi Tiemo,

Even if every network does have its own proxy, the IP address of each
proxy is unlikely to be the same (and the port may also be different).

If your application is on a network where the users are not allowed
direct access to the internet (either for security or caching
reasons), then somewhere in your app you would need to have a
preference for setting the IP address & port of the proxy.  Once the
user has entered that information, then your app would need to save it
as some kind of file (a stack or text file), or in the registry.  On
restart your app would re-set the proxy to the previously saved
settings.  Without this information, if there is a proxy then it's
unlikely your app would ever be able to make an internet connection
(assuming the proxy is there for security reasons).

This would be the same for many other applications I suspect.  I guess
it is possible to query the registry on Windows in order to find out
the proxy's IP address/port from there.  I don't work much with
Windows any more, but that information should be available on the
internet.

I hope that is the kind of information you want.

Bernard

On Wed, Apr 8, 2009 at 4:41 PM, Tiemo Hollmann TB <toolbook at kestner.de> wrote:
> Hi Bernard,
> I don't understand the use of HTTPProxy. How can I set a proxy in my off the
> shelf app, if every intranet network has is own proxys inhouse?
> Thanks
> Tiemo
>
>> -----Ursprüngliche Nachricht-----
>> Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-
>> bounces at lists.runrev.com] Im Auftrag von Bernard Devlin
>> Gesendet: Mittwoch, 8. April 2009 16:24
>> An: How to use Revolution
>> Betreff: Re: How do Rev internet libraries work?
>>
>> Hi Tiemo,
>>
>> I don't remember if Rev's internet library is just implemented in
>> transcript or not.  However, if you are using a hostname instead of an
>> IP address when you are connecting to your server, then it will be
>> using the DNS configured in Windows.
>>
>> When it comes to proxies, you can explicitly set the proxy address using:
>>
>> set the HTTPProxy to host:portNumber
>>
>> Obviously, if you're not doing that then I don't think you are going
>> to be using a proxy server if there is one and if it is configured in
>> Windows networking.
>>
>> Bernard
>>
>> On Wed, Apr 8, 2009 at 10:42 AM, Tiemo Hollmann TB <toolbook at kestner.de>
>> wrote:
>> > Hello,
>> >
>> > I am still struggeling with socket time out problems with pure http:
>> > requests at some customers with Win XP.
>> >
>> > One of them is a school, where you always have very restricted access to
>> the
>> > internet. But the network admin told me that he has switched off the
>> > firewall, all filters and routers and routed his test PC around the
>> proxy
>> > directly to the access point. Other apps have access to the internet -
>> But
>> > who really knows?
>> >
>> > Does anybody knows, if the rev internet librarys take account of the
>> windows
>> > IP and network configuration, like proxy, DNS, etc. or do they make
>> their
>> > own way through the network?
>> >
>> > Thanks
>> >
>> > Tiemo
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > _______________________________________________
>> > use-revolution mailing list
>> > use-revolution at lists.runrev.com
>> > Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> > http://lists.runrev.com/mailman/listinfo/use-revolution
>> >
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the use-livecode mailing list