InetReceiving Example for C++ 5.0 and later
| 
 Note:  | 
 This is not a complete example for handling events, some steps have been omitted. For a complete example of how to handle events, refer to the example Initializing a Computer as a Server and Accepting Connections.  | 
void CRasterInetSink::OnInetReceiving(short 
 iComputer, long lSize)
{
   TCHAR szText[80];
   // Display amount expected
   wsprintf(szText, TEXT("Receiving: %ld bytes.\n"), lSize);
   OutputDebugString(szText);
}