Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I connect to network in Fortran?

I found a 1971 document about Fortran communication with network using slightly low-level send and receive. Admittedly Fortran changed, 1977, 1990, 2003, 2008 versions came out. Is there a standard modern interface for talking to a network? HTTP and IRC protocols are of interest.


1 Answers

Fortran is just a language. It will support any network protocol if someone has written a library for it.

For IRC try libircclient from http://www.ulduzsoft.com/linux/libircclient/.

For HTTP, try libcurl from http://curl.haxx.se/libcurl/.

Use a Fortran compiler with C bindings to interface to the libraries

like image 135
cup Avatar answered Dec 01 '25 08:12

cup



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!