sockets

Ed Hilovsky lgf at lgfcomputers.net
Tue May 15 08:23:05 PDT 2012


yq is blank, yp is 10.9.5.198

Three other sites are using this same processing successfully. They would have totaled 5 sockets at one time as two of the sites had dual logins. They are continuing to run credit cards. The IP is correct and the server is up  

 -- 

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 10:59 AM
To: lgf at lgfcomputers.net
Cc: 'filepro-list'
Subject: Re: sockets

On 5/15/2012 10:44 AM, Ed Hilovsky wrote:
>         ■ If: yr ne "0"                                                         ■
>         Then: yv=socketerror();show "@Error"<yv;end
>
> Doesn't display a thing. It is blank.

What about the rest of the questions I asked?

> -----Original Message-----
> From: Kenneth Brody [mailto:kenbrody at spamcop.net]
> Sent: Tuesday, May 15, 2012 10:23 AM
> To: lgf at lgfcomputers.net
> Cc: 'filepro-list'
> Subject: Re: sockets
>
> On 5/15/2012 9:27 AM, Ed Hilovsky wrote:
>> Filepro version 5.7   under Linux Centos 5
>>
>> I need help on the sockets. I use the following:
>>
>>          │ If:
>>          Then: yq=socket( )
>
> What is the value of "yq" after executing this?
>
>>          │ If:
>>          Then: yr=connect(yq,"5012",yp)
>
> What is the value of "yp", and is there something listening on port 5012 on that system?
>
>>          │ If: yr eq "0"
>>          Then: goto submit
>>          │ If: yr ne "0"
>>          Then: show "@Server Down";end
>>
>> And then close it by:
>>
>> Then: yr=socketclose(yq)
>>
>> I am now getting a "server down" which leads me to believe I have run 
>> out of sockets.
>
> That is only one of many possible reasons.
>
> What does SOCKETERROR() say was the error?
>
>> Anything else that should be done ?
>
> See all of the above.

--
Kenneth Brody



More information about the Filepro-list mailing list