[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IDL sockets




 Pretty need stuff! I was able to read the idl.htm page. Even text files
from another server.

 Just wondering - how would you open and display a JPEG from ...

   http://www.emwin.org/rxfiles/G10FDIUS.jpg

 To bad GIF support was removed with IDL 5.4.

Kelly Dean
CSU/CIRA

George Constantinides wrote:

> Hi IDLers,
>
> 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
> --
>
> email:  GeorgeC@mhl.nsw.gov.au
> URL   http://www.mhl.nsw.gov.au