HP-3000 Systems Discussion wrote:
> Hi All,
>
> I am using a socket listener program in HP3000 which listens to a
> particular port for incoming requests.
>
> The requests are coming from the Internet to make some updations to
> the TurboImage database. The front end is a ASP.NET with WEB SERVICES
> doing the business logic (putting the TI updation request in the
> socket).
>
> Coming to the socket side, we have a call socket (listener program)
> which will create a virtual socket (Child program spawned from
> listener program) for every request from the WEB SERVICES.
<snip />
> Any pointers would be extremely helpful.
One thing you may want to consider is connection/object pooling. Why not
write an object that connects to the 3000 and keeps the connection open,
then pool that object? .NET has that capability
(http://www.microsoft.com/mspress/books/toc/6723.asp) This simplifies the
socket programming on MPE and probably gives you a performance boost since
you won't have to keep negotiating new sockets. This approach also gives
you the ability to have multiple web servers sending data to the 3000.
FWIW.
Mark W.
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *