--
Posted via http://dbforums.com
You didn't indicate what platform. For Windows, I believe that there
are some library packages that support "network" programming models (see
http://www.fortranlib.com/freesoft.htm ) and look for "PVM" (Unix and
Windows actually). There is a rudamentary TCP/IP mail utility called
SEE4F from MarshallSoft (see http://www.marshallsoft.com ).
Unfortunately, their other TCP/IP products do not seem to mention
Fortran support but they may not be difficult to adapt. For most of
these types of functions it is necessary to call a c-based OS API. This
is something that is needed frequently enough in Fortran programs that I
think that all vendors should create some basic Fortran (77 style) APIs
(how about getting together and making something semi-portable as
well). I've been trying to convince GINO to add this functionality and
they do seem to be moving in the network-centric GUI direction, but they
want to limit to GUI APIs and avoid basic OS/system APIs.
I think that I remember that David Frank has some Windows-utilities and
I believe that he posted information here in the past.
Don't even think about it. Write wrappers in C and call them from
Fortran. If you have to write more than a couple of hundred lines
of very simple C, you are using TCP/IP in a far too complicated way.
Go back and simplify it.
Regards,
Nick Maclaren,
University of Cambridge Computing Service,
New Museums Site, Pembroke Street, Cambridge CB2 3QH, England.
Email: nm...@cam.ac.uk
Tel.: +44 1223 334761 Fax: +44 1223 334679
<snip>
> I think that I remember that David Frank has some Windows-utilities and
> I believe that he posted information here in the past.
>
see: http://home.cfl.rr.com/davegemini/http.txt
Using CVF to create the http.exe from this source, I DAILY call the http.exe
program from another program
using the "system" command + file address to download, to retrieve free
price data file from a futures exchange.
I also use the http technique shown in another program that tracks/plots the
daily market.. That program reads a free source of intra-day realtime price
data via a read thread (no use is made of http.exe in that program)..
All of my development is 100% Fortran with NO C wrappers, but you must
have a MS WinInet API support library to link with.