Inheriting from System.Net.Sockets.Socket problems.

  • Thread starter Thread starter Tony Caduto
  • Start date Start date
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,
 
Back
Top