sockets

Ed Hilovsky lgf at lgfcomputers.net
Tue May 15 06:27:48 PDT 2012


Filepro version 5.7   under Linux Centos 5

 

I need help on the sockets. I use the following:

 

       │ If:
│

       Then: yq=socket( )
│

54  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -

       │ If:
│

       Then: yr=connect(yq,"5012",yp)
│

55  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -

       │ If: yr eq "0"
│

       Then: goto submit
│

56  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -

       │ 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. 

 

Anything else that should be done ?

 

 

Thanks,

 

 -- 

Ed Hilovsky 
LGF Computers 

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

email   <mailto:lgf at lgfcomputers.net> lgf at lgfcomputers.net 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20120515/8fd6d059/attachment.html 


More information about the Filepro-list mailing list