ZSocket Review
Properties __property AnsiString RemoteAddr
__property AnsiString RemotePort
__property AnsiString Text
__property long BufferSize
__property long BytesAvailable
__property int Timeout
__property SOCKET SocketHandle
__property int State
__property AnsiString Version

Methods AnsiString __fastcall TZSocket::GetText();
void __fastcall TZSocket::SetText(AnsiString Text);
void __fastcall TZSocket::ZConnect();
long __fastcall TZSocket::ZReceive(SOCKET Socket, unsigned char *Text, long length);
long __fastcall TZSocket::ZPeek(SOCKET Socket, unsigned char *buffer, long length);
long __fastcall TZSocket::ZReceiveUrgent(SOCKET Socket, unsigned char *buffer, long length);
long __fastcall TZSocket::ZSend(SOCKET Socket, unsigned char *buffer, long length);
long __fastcall TZSocket::ZSendUrgent(SOCKET Socket, unsigned char *buffer, long length);
int __fastcall TZSocket::SetSocketOption(SOCKET Socket, int linger, int timeout);
int __fastcall TZSocket::GetSocketOption(SOCKET Socket);
void __fastcall TZSocket::GetRemoteName(AnsiString hostname);
void __fastcall TZSocket::ZAsyncCancel(void);
void __fastcall TZSocket::ZListen();
void __fastcall TZSocket::ZCancelListen();
SOCKET __fastcall TZSocket::ZAccept();
void __fastcall TZSocket::ZClose();

AnsiString __fastcall TZSocket::GetRemoteAddr(SOCKET aSocket);
int __fastcall TZSocket::GetRemotePort(SOCKET aSocket);
AnsiString __fastcall TZSocket::GetLocalHostName();
AnsiString __fastcall TZSocket::GetLocalAddr();
AnsiString __fastcall TZSocket::GetPeerAddr();
int __fastcall TZSocket::GetPeerPort();

Events OnSendComplete
OnOKToWrite
OnClose
OnConnectionRequest
OnConnect
OnError
OnDataAvailable
OnTimeout
OnNameResolved
OnNameLookupFailed