title: C++ want to call derived function from base class
body: <p>I have following situation</p>
  
  <pre><code>class base
  {
  public:
  
     virtual void Accepted(SOCKET s)  //// Event
     {
  
     }
     void Listner()
     {
            SOCKET acpted;
            Accepted(acpted); /// When I call I want derived class's Accepted() to get called
  
     }
  
  };
  
  
  class derived
  {
     virtual void Accepted(SOCKET s)  //// Event
     {
           ////// HERE i will write actual implementation (QUESTION)
     }
  
  }
  </code></pre>
  
  <p><strong>I want to call derived class's function. This will work like event here. I want to notify derived class that something happened in base class.</strong> </p>