× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Walden H. Leverich skrev:
Hence, you need to have a web server to handle the communication, and that is as far as I know not easy to do in RPG.

I'm not sure I'd want to write a general purpose web server in RPG (I'm not sure I'd want to write one period) but if all you're doing is receiving web service requests and you can marry the "web server" to the back-end I would think this would be rather straight forward. Accept TCP connection, hand off to separate thread/job, process request, return result end thread/job.
Can RPG do sockets? If so, it might be possible to port one of Jeff Poskanzers tiny servers written in C to ILE.

See

http://acme.com/software/micro_httpd/ (which is invoked once per request)

http://acme.com/software/mini_httpd/ (which is forking)

/Thorbjørn

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.