comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: IDL sockets
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDL sockets [message #25112 is a reply to message #25106] Wed, 16 May 2001 23:17 Go to previous messageGo to previous message
George Constantinides is currently offline  George Constantinides
Messages: 16
Registered: July 2000
Junior Member
I tried it on our own web server and I am getting an error response from
the server: -ERROR-(501): Gateway function not available,
but at least the socket connection has worked.
All I have to do now is undertand Error-501 on our type of web server.

Mark Hadfield wrote:

> From: "George Constantinides" <gconstantinides@mhl.nsw.gov.au>
>> Has any one used the SOCKET function successfully?
>>
>> I have tried the Craig Markwardt suggestion from an earlier post without
>> any success.
>>
>>> socket, unit, 'cow.physics.wisc.edu', 80, /get_lun
>>> printf, unit, 'GET http://cow.physics.wisc.edu/~craigm/idl/idl.html'
>>> text = ''
>>> while eof(unit) EQ 0 do begin
>>> readf, unit, text
>>> print, text
>>> endwhile
>>> free_lun, unit
>
> I hadn't, but I was sufficiently intrigued to give it a go. I substituted a
> local WWW site for Craig's and tried it out. It worked! Now all I need to
> do is load the text into a file, open it in a browser, and I can surf the
> Web with IDL!
>
> I didn't bother trying to connect directly to Craig's site because we are
> behind a firewall. Are you? If you are, then the HTTP queries have to be
> sent to your proxy server and formulated a bit differently.
>
> ---
> Mark Hadfield
> m.hadfield@niwa.cri.nz http://katipo.niwa.cri.nz/~hadfield
> National Institute for Water and Atmospheric Research


email: GeorgeC@mhl.nsw.gov.au
URL http://www.mhl.nsw.gov.au
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: re:call_external with V c++
Next Topic: shade

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Nov 30 06:02:19 PST 2025

Total time taken to generate the page: 0.32103 seconds