socket listener

jpp

New Member
Hi ,

If I write in program in Progress 4GL that is a socket listener , can this program handle different connection at the same time ( on a unix AIX box ), have I something special to write in my 4GL program or is this complexity hidden

tx

jean-paul
 
If I write in program in Progress 4GL that is a socket listener , can this program handle different connection at the same time ( on a unix AIX box ), have I something special to write in my 4GL program or is this complexity hidden

It depends on the response time IOW how long your listener is going to process a client request and how many simultaneous requests you are expecting. If this time is less than a split second it's okay otherwise you need to make something more complex because until the request is processing other requests will wait. The complex model must look like progress database or application servers IOW there's a single broker (your listenser) which accepts all requests and there're also several servers which process a single request. Broker passes the first client request to a server which process all further requests of the client. Both broker and server are in the different PROGRESS sessions of course because there's no multithread support in the currrent 4GL.

HTH
 
exactly ! you can use a broker/server model

but why reinvent the wheel, maybe you could use appserver, webservices adapter, openclient, sonic/jms etc.
 
Back
Top