//---------------------------------------------------------------------------

#ifndef SockAddServerH
#define SockAddServerH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Sockets.hpp>
//---------------------------------------------------------------------------
class TForm3 : public TForm
{
__published:	// IDE-managed Components
	TTcpServer *TcpServer1;
	TButton *Button1;
	TButton *Button2;
	TMemo *Memo1;
	TButton *Button3;
	void __fastcall TcpServer1Accept(TObject *Sender, TCustomIpClient *ClientSocket);
	void __fastcall Button1Click(TObject *Sender);
	void __fastcall Button2Click(TObject *Sender);
	void __fastcall Button3Click(TObject *Sender);
	void __fastcall TcpServer1CreateHandle(TObject *Sender);
	void __fastcall TcpServer1DestroyHandle(TObject *Sender);

private:	// User declarations
	int m_nrConn;
public:		// User declarations
	__fastcall TForm3(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm3 *Form3;
//---------------------------------------------------------------------------
#endif
