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

IDL sockets

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