// This may look like C code, but it is really -*- C++ -*-
// 
// <copyright> 
//  
//  Copyright (c) 1996
//  Institute for Information Processing and Computer Supported New Media (IICM), 
//  Graz University of Technology, Austria. 
//  
// </copyright> 
// 
// 
// <file> 
// 
// Name:        tinetsockio.h
// 
// Purpose:     
// 
// Created:     11 Dec 1996   Joerg Faschingbauer
// 
// Modified:    
// 
// Description: 
// 
// $Id: tinetsockio.h,v 1.4 1997/02/12 23:13:11 jfasch Exp $
// 
// $Log: tinetsockio.h,v $
// Revision 1.4  1997/02/12 23:13:11  jfasch
// moved from HgDcCommon
//
// Revision 1.3  1997/01/07 09:53:27  jfasch
// typo :-)
//
// Revision 1.2  1996/12/23 09:34:16  jfasch
// link time assertion
//
// Revision 1.1  1996/12/12 14:50:06  jfasch
// Initial revision
//
// 
// </file> 
#ifndef hg_dispatch_tinetsockio_h
#define hg_dispatch_tinetsockio_h

#include "tsockio.h"

#include <hyperg/utils/inetsocket.h>

class TransparentINETSocketIO : public TransparentSocketIO {
public:
   TransparentINETSocketIO (const INETSocketPtr&) ;

   const INETSocket& socket() const { return *(sock_.ptr()); }

private:
   INETSocketPtr sock_ ;

public:
   // link time assertion
   static const char* version1 ;
} ;
static const char* dc_TransparentINETSocketIO_version = TransparentINETSocketIO::version1 ;

SmartPtrdeclare (TransparentINETSocketIOPtr, TransparentINETSocketIO) ;


#endif
