#if !defined(AFX_PNCOMMANDSOCKET_H__2063FBAF_E931_11D3_9F5B_080009EE62AA__INCLUDED_)
#define AFX_PNCOMMANDSOCKET_H__2063FBAF_E931_11D3_9F5B_080009EE62AA__INCLUDED_

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

#include "PNSocket.h"

/////////////////////////////////////////////////////////////////////////////
// CPNCommandSocket command target

class CPNCommandSocket : public CPNSocket
{
// Attributes
public:

// Operations
public:
	CPNCommandSocket( int TimeOutms=10000 );

// Overrides
public:
	bool SendCommand(const char *Command, const char *Data, CString* Dest, const char *OK=0 );
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPNCommandSocket)
	public:
	//}}AFX_VIRTUAL

	// Generated message map functions
	//{{AFX_MSG(CPNCommandSocket)
		// 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_PNCOMMANDSOCKET_H__2063FBAF_E931_11D3_9F5B_080009EE62AA__INCLUDED_)
