Hello there PB Gurus,
About me: PB Newbie, VB6/C#/JavaScript/PHP expert, loves network programming.
I am developing a prototype that can connect to a PHP page that will send binary data back to the client. After a lot of research I chose PB because of its low binary footprint and speed. I would like to know a transparent way to connect to a URL (say: http://example.com/mypage.php) that would output a sample test message.
Requirements:
+ I need to be able to connect to a web page (HTTP). Should be scalable for HTTPs as well.
+ Need detection of Proxy and seamless support
+ Need cross-platform support
I started out with OpenNetworkConnection but don't know if I am going in the right path due to support for proxy. Any advanced, too-much-information-for-a-person code is fine (I love 'em).
Many thanks in advance!
Does OpenNetworkConnection support proxies?
-
scriptmaster
- User

- Posts: 15
- Joined: Fri Mar 13, 2009 3:13 pm
- Location: Chennai, India
Does OpenNetworkConnection support proxies?
Last edited by scriptmaster on Wed Mar 18, 2009 1:40 pm, edited 1 time in total.
-
scriptmaster
- User

- Posts: 15
- Joined: Fri Mar 13, 2009 3:13 pm
- Location: Chennai, India
Does OpenNetworkConnection support proxies?
May be my question was not clearer to attract replies? :roll:
Here is a simpler version: Does OpenNetworkConnection or similar automatically support connections over HTTP/SOCKS proxies in the network?
I don't have a proxy to test, and all I have is localhost
Which HTTP proxy do you folks think I should install and configure to test my code?
Here is a simpler version: Does OpenNetworkConnection or similar automatically support connections over HTTP/SOCKS proxies in the network?
I don't have a proxy to test, and all I have is localhost
Hi,
Proxy's are not directly supported ... but see http://www.purebasic.fr/english/viewtopic.php?t=13520 for more details and a sample
It's old code so you may have to adapt it to your PB version ... (maybe there is a more recent version somewhere... try the search with 'proxy' to find out more
)
Proxy's are not directly supported ... but see http://www.purebasic.fr/english/viewtopic.php?t=13520 for more details and a sample
It's old code so you may have to adapt it to your PB version ... (maybe there is a more recent version somewhere... try the search with 'proxy' to find out more

