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

#ifndef frmClientSocketH
#define frmClientSocketH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ScktComp.hpp>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published:	// IDE-managed Components
	TEdit *_serverIP;
	TLabel *Label1;
	TLabel *Label2;
	TEdit *_serverPort;
	TButton *Connect;
	TEdit *_sendBuf;
	TButton *_Send;
	TLabel *Label3;
	TCheckBox *CheckBox1;
	TMemo *_stringMemo;
	TMemo *_hexMemo;
	TLabel *Label4;
	TLabel *Label5;
	TClientSocket *_clientSocket;
	TButton *_disconn;
	TButton *Button1;
	void __fastcall ConnectClick(TObject *Sender);
	void __fastcall _disconnClick(TObject *Sender);
	void __fastcall _SendClick(TObject *Sender);
	void __fastcall _clientSocketRead(TObject *Sender, TCustomWinSocket *Socket);
	void __fastcall _clientSocketError(TObject *Sender, TCustomWinSocket *Socket, TErrorEvent ErrorEvent,
          int &ErrorCode);
	void __fastcall Button1Click(TObject *Sender);
private:	// User declarations
public:		// User declarations
	__fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif
