Click here to Skip to main content
15,892,965 members
Articles / Desktop Programming / MFC

Network Renju Game

Rate me:
Please Sign up or sign in to vote.
3.00/5 (2 votes)
1 Jul 20032 min read 74K   3.9K   41  
This is a Renju game with network support.
#if !defined(AFX_LISTENSOCKET_H__383FE371_8954_4135_967E_9B2886C10BB1__INCLUDED_)
#define AFX_LISTENSOCKET_H__383FE371_8954_4135_967E_9B2886C10BB1__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ListenSocket.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CListenSocket command target
class CRenjuView;

class CListenSocket : public CSocket
{
// Attributes
public:
	CRenjuView* m_pView;

// Operations
public:
	CListenSocket(CRenjuView* pView);
	virtual ~CListenSocket();

// Overrides
public:
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CListenSocket)
	public:
	virtual void OnAccept(int nErrorCode);
	//}}AFX_VIRTUAL

	// Generated message map functions
	//{{AFX_MSG(CListenSocket)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG

// Implementation
protected:
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_LISTENSOCKET_H__383FE371_8954_4135_967E_9B2886C10BB1__INCLUDED_)

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
United States United States
Hey you,
Out there in the cold,
Getting lonely, getting old,
Can you feel me?
Hey you,
Standing in the aisle,
With itchy feet and fading smile,
Can you feel me?
Hey you,
Don't help them to bury the light.
Don't give in without a fight.

Comments and Discussions