I am wanting to derive a class from Socket to do some custom functionality to my program. Say: class MySocket : Socket;
However, since the EndAccept() method returns a reference to a Socket object, I am assuming that I need to detach the socket handle
from that object, create a MySocket, and attach it (at least - in C++ that is what I think I would do...).
My question then - there is the Handle method to GET the socket handle, but how then can I create a new MySocket object based on
that?
Or is there some easier way that I am missing altogether?
Thanks!
--
Adam Clauss
ca*****@tamu.edu