I have created a static library that can be used with Fortran programs to act as a server with JSON RPC compliant clients. The source code and documentation can be found on this repository on Github:
I am a retired Mechanical Engineer and not a computer science guru, but created this to allow for an alternate way to send data (bi directionally) between a running Fortran program and a separate client program of another language in a Windows envrironment
Specific details include:
1) Demonstration program is using visual
basic.net for the client program
2) All Fortran and Visual Basic programs and libraries developed using
VB.NET and Intel Fortran compiler IFX in Visual Studio.
3) The inter-process communication between the VB client and the Fortran server is via Windows named pipes.
Open source, hope this helps someone in a future project.