×
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.
I am learning how to use node.js on IBMi and using Bash tool from windows
to connect to IBMi.
I have JS1.js to create Web server and listening to port and has some
actions to perform based on the request from client, when H1.html is used
in browser, It is requesting some action to perform and JS1.js is executing
respective script. So far everything is good and my Bash session says
server running at
http://IP:Port.
Now If I have another set of js & html, for example JS2.js and H2.html for
different (Request and Response) tasks to do at the same time when JS1.js
is running, Not sure how I can do that as Bash session is still active with
previous JS1.js and listening to the first client. Do I need to start
another Bash session? Or in other words How can I run multiple client
requests same time which need different server side scripts to be executed?
Note that I am using Bash utility.
FYI, I am able to run another (For example H3.html) client’s request from
different tab successfully when JS1.js is active as H3.html does not have
any requests (scripts to execute at) to the server and instead it has
client side java script which is executing successfully.
Thanks
Mallik
As an Amazon Associate we earn from qualifying purchases.