sockets

Ed Hilovsky lgf at lgfcomputers.net
Tue May 15 11:37:41 PDT 2012


That is fine for the user count. Count *clerk or *report. But these are
sockets. I close them, they are not being used. Why can't I use it again ?
That isn't what I was told. As you can see below, I was told shutting the
socket down makes it available for someone else. That isn't the case.



In answer to your question, the sockets are sharable just the same as
filePro.  The use of sockets and how long they are tied up is for how ever
long it is waiting for an answer.  Obviously if you are waiting for a
request, the sockets function is active all the time.  If you only are using
it for sending requests and getting a reply and then shutting the socket
down, it usually is very quick and available for someone else.  There is a
command to tell you if the socket request was successful so you can trap it
and loop through until it works.  I would only start with the 6 that you
need (1 dev and 5 rt) and we can easily add more later at the same per unit
price one at a time.


 -- 

Ed Hilovsky 
LGF Computers 

Main Office   : (724) 463-7633 
Toll Free         : (800) 653-8479 
Fax Number : (866) 448-5415 
Cellular           : (412) 289-1773 

email  lgf at lgfcomputers.net 


-----Original Message-----
From: Kenneth Brody [mailto:kenbrody at spamcop.net] 
Sent: Tuesday, May 15, 2012 2:29 PM
To: lgf at lgfcomputers.net
Cc: filepro-list at lists.celestial.com
Subject: Re: sockets

On 5/15/2012 1:58 PM, Ed Hilovsky wrote:
> Doesn't having a "called" process (call "tsys") where the sockets are 
> used and closing that "called" process exit the sockets ? The "called" 
> process has the socketclose statement in it.
> I would love for someone to explain to me exactly how their socket 
> license works....
[...]

I think you are confusing "process" as in "filePro processing table in a
prc/tok file" with "process" as in "an instance of an executing program,
such as dclerk or rreport".

It is not the executing prc/tok file which is granted the license, but
rather the instance of *clerk/*report executing it.

--
Kenneth Brody



More information about the Filepro-list mailing list