Hi Guys,
I have created a console multithreaded client server application where
many client connects to the server.I am adding the clientID and Socket
to the hash table. I have added a timer to the server which fires every
30 seconds and asks the client whether the client is connected…
However when I connect two clients say
(kshah,sck1)
(mkshah,sck2)
and then close the connection for kshah and then remove kshah with sck1
from the hash table the server does not receive any data from client
mkshah with sck2 saying that it is connected to the server. But when
I close the connection and remove mkshah with sck2 from the hash table,
the server receives data from kshah with sck1 saying it is connected to
the server…
Can anyone guide me what could be the problem be with the
connection or hash table. I tried to enumerate the hash table but did
not work got System.InvalidOperationException error.
Pls guide…
Thanks,
Rahil
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!