I have been working on a driver which requires me to use TCP/IP to create
multiple ACCEPTing “sockets” to service different requirements. Each
ACCEPTing “socket” needs to be able to handle multiple connections at
the same time.
Each ACCEPTing “socket” will have a distinctive “well-known” port for
clients to connect to. The clients can be NT or UNIX.
I have been using the “not-so-well documented” TDI interface to handle
CONNECTions and ACCEPTs. Unfortunately, I have not been able to have
clients connecting-disconnecting multiple times, as a server should
handle, consistently for more than 3 attempts.
I tried having 5 ACCEPTing “sockets” (separate threads) with ports 6001
to 6005 all waiting for connections. I had a UNIX telnet connect to port
6001 and attempted disconnection-reconnection multiple times. After a
few attempts I received CONNECTION_REFUSED. I followed this by doing the
same on the remaining 4 ports. You would expect consistent results on
all ports since they are generated by the same code. Unfortunately 2
ports allowed 3 attempts, 2 ports allowed 2 attempts and the remaining
port allowed 1 attempt.
I need the ability to ACCEPT many connections simultaneously with
multiple attempts if necessary.
Could somebody please assist in this dilemma?
Thanks,
Ian Costello
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com