in reply to Multiple Perl files sharing a single socket - is it possible/sensible?
I apologize for the lack of clarification in my original question. Let me explain a bit further and clarify to get rid of any confusion:
This workflow will be used in a library environment. Our library is migrating to Koha, which is built on Perl and MySQL. MY task is to interface Koha (which will be hosted by a third party off-site. For the remainder of this reply I'll identify Koha as the ILS - integrated library system - and our local server called EMS) with a local server on-site (EMS) which runs a machine we use to store and pick books from (read as replacement for bookshelves).
As an example, a person would log in to the Koha library catalog and "Place Hold" on something. When they click "Place Hold" that would trigger a request file (request.pl) and collect contextual information regarding the request through MySQL extraction then relay that information via socket to EMS for the request to be completed.
EMS has been designed by a third-party to accept Socket (SOCK_STREAM) connections over TCP protocol. EMS is set up to process data in the form of single line "messages". A robust ACK/NAK mechanism is in place to guarantee success or failure of a message which is handled by EMS.
Parts of the actual interface connection are confidential, however I will try to answer the posed questions as best I can in hopes it will assist with a solid solution.
To answer NetWallah's questions:
I hope that I provided enough clarification to clear up the confusion!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Multiple Perl files sharing a single socket - is it possible/sensible?
by mr_mischief (Monsignor) on Dec 02, 2015 at 15:11 UTC | |
by ljamison (Sexton) on Dec 02, 2015 at 15:27 UTC | |
|
Re^2: Multiple Perl files sharing a single socket - is it possible/sensible?
by FreeBeerReekingMonk (Deacon) on Dec 02, 2015 at 20:35 UTC | |
by ljamison (Sexton) on Dec 02, 2015 at 22:16 UTC |