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

Home » Public Forums » archive » Socket!
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Socket! [message #23388] Wed, 24 January 2001 00:31
landsman is currently offline  landsman
Messages: 93
Registered: August 1991
Member
Has anyone tried to use the Unix/Windows SOCKET procedure in IDL V5.4,
or thought about ways that it might be useful? It looks to me like
it should allow one to read a file on an anonymous FTP server, but I
haven't figured out the syntax for this. (I have no previous socket
programming experience in other languages, so I am proceeding
naively...)

For example, I can open a socket to an anonymous FTP account on a
machine named 'ftpservername'

IDL> socket, 1, 'ftpservername', 'ftp'

and read the welcome message

IDL> text = ''
IDL> readf,1,text & print,text

but I haven't figured out the syntax for reading a file on
the FTP server. I'd also be interested in hearing of other possible
applications for the SOCKET procedure. Is it mainly for use with a C
interface, or is it useful in pure IDL applications?

Thanks, --Wayne Landsman landsman@mpb.gsfc.nasa.gov


Sent via Deja.com
http://www.deja.com/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: new book on calling C from IDL
Next Topic: Re: IDL Documentation tool?

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

Current Time: Wed Oct 08 15:57:19 PDT 2025

Total time taken to generate the page: 0.00561 seconds