Inheriting from System.Net.Sockets.Socket problems.

T

Tony Caduto

Hi,
I was trying to create a new class derived from System.Net.Sockets.Socket
and it seemed to be working until I tried to use the accept method.
The accept method returns a Socket object and for some reason you can't
typecast it as the derived class.
Everything else worked fine, I was able to add new methods etc etc

Is there a way around this?

Thanks,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top