|
-
Apr 5th, 2004, 03:41 PM
#1
Thread Starter
Lively Member
Storing Methods in Hashtable
Hello Everybody:
I am creating a client server application Asynchronously. I want to store the BeginAccept method in a Hashtable. But I am getting errors. Can anyone guide me what is wrong and how to store it in a hashtable.
Thanks,
Rahil
Socket sckt= m_socListener.BeginAccept(new AsyncCallback ( OnClientConnect ),null);
sockettable.Add(connectId, sckt);
The error I am getting is
Cannot implicitly convert type 'System.IAsyncResult' to 'System.Net.Sockets.Socket'
Pls guide what to do..
Rahil
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|