// chatsock.h : interface of the CGenSocket class
//
// This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (C) 1992-1997 Microsoft Corporation
// All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference and related
// electronic documentation provided with the library.
// See these sources for detailed information regarding the
// Microsoft Foundation Classes product.

#ifndef __GENSOCK_H__
#define __GENSOCK_H__

class CTCPDlg;

class CGenSocket : public CSocket
{
	DECLARE_DYNAMIC(CGenSocket);

// Construction
public:
	CGenSocket(CTCPDlg* pDlg);

// Operations
public:
	CTCPDlg* m_pDlg;

// Implementation
protected:
	virtual void OnReceive(int nErrorCode);
	virtual void OnAccept(int nErrorCode);
};

#endif // __GENSOCK_H__
