HP3000-L Archives

July 1998, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Stephen McCready <[log in to unmask]>
Reply To:
Stephen McCready <[log in to unmask]>
Date:
Tue, 28 Jul 1998 17:42:44 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (14 lines)
We have an interactive voice response system that uses the socket routines.  The system was designed to deal with multiple calls using 1 socket.  The program 'Bind's to a socket, 'Listen's to that socket then 'Accept's to get the Socket Client Number.  When a connection is made to the socket we close the socket# and begin another 'Bind, Listen and Accept' process to wait for another caller.  This uses the same socket#.  Meanwhile the first client number is still being processed.

All of this works fine with one call, however we are getting problems when a caller hangs up during the process and there are multiple callers on at the time.  It causes all the calls to hang up.

We have been displaying the Socket Client Number from each of the 'calls'  to help debug this problem.  However, no matter what 'call' we are dealing with, the Socket Client Number is always the same.  Is this to be expected?  If so, how can we uniquely identify each one of the calls?

thanks


Stephen McCready
Centene Corporation,  7711 Carondolet Ave, Suite 600,  St.Louis, MO  63105
(314) 725 4706 ext.283
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               !

ATOM RSS1 RSS2