Single listeners and persistent connections have their uses and are fairly
popular in commercial environments.  An LIS that receives 60 or 70 thousand
messages a day from a single source for example.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gregory
Woodhouse
Sent: Tuesday, December 06, 2005 11:20 AM
To: [email protected]
Subject: Re: [Hardhats-members] Setting up HL LOGICAL LINKs problem - No
response


On Dec 6, 2005, at 7:59 AM, Gregory Woodhouse wrote:

> Single listeners work entirely in the VistA environment, but multi- 
> listeners require some setup at the OS level. In this case, the  
> daemon doesn't run in the MUMPS environment, but is a program that  
> calls MUMPS to handle messages when they arrive.
>

Single listeners (which are really less efficient) are examples of  
what are called "iterative servers". There is a task (running under  
Taskman) that accepts a connection on the specified port, and that is  
the one and only connection on that port that can be handled. The HL7  
package has historically treated TCP connections as "always on"  
serial links (in fact, MLLP is basically a serial protocol emulated  
over TCP). The normal thing to do is create a TCP connection and just  
leave it up. This really not a good way to handle TCP/IP protocols.  
The recommended approach is to listen or port 5000 (1.6) or 5001   
(HLO) and accept all incoming connections there regardless of source  
using the OS, rather than the MUMPS environment, to handle this  
process. And yes, I know 5000 and 5001 are not IANA registered. I  
think the people that created the package were unfamiliar with the  
registration process or otherwise thought these ports were free for  
local use. (Actually, you have to go up to 10,000.)

===
Gregory Woodhouse
[EMAIL PROTECTED]

"The most profound technologies are those that disappear."
--Mark Weiser






-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Hardhats-members mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hardhats-members



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Hardhats-members mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to