By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,130 Members | 2,228 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,130 IT Pros & Developers. It's quick & easy.

Socket and Hashtable-Pls guide..

P: n/a

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

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…



*** Sent via Developersdex ***
Don't just participate in USENET...get rewarded for it!
Nov 16 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.