[About] Version=1.0 Author=Nic Mail=support@hiasm.com [Type] Class=Element Info=Provides client connections for TCP network services [Property] @AutoReconnect=Sets a value that specifies whether reconnect to server after fail. ARG(bool)|14|0|True,False @ConnectTimeout=Sets time to wait after a connection is attempted before a timeout event occurs. ARG(int)|1|5000 @DataEncoding=Sets Encoding to use for sending. ARG(Encoding)|20|(empty)|Encoding @ReceiveTimeout=Sets time to wait after a receive operation is attempted before a timeout event occurs. ARG(int)|1|5000 @ReconnectInterval=Sets the interval in milliseconds between attempts. ARG(int)|1|2000 @SendTimeout=Sets time to wait after a send operation is attempted before a timeout event occurs. ARG(int)|1|5000 [Methods] doConnect=Connects the client to a remote TCP host. ARG(string address, int port, bool AutoReconnect)|1|0 *doDisconnect=Begins an asynchronous request to disconnect from a remote TCP host. ARG()|1|0 *doDispose=Disposes this TcpClient instance and requests that the underlying TCP connection be closed. ARG()|1|0 *doSend=Sends data asynchronously to a connected TCP host. ARG(byte[]||string)|1|0 onReceived=Occurs after receiving data from a connected TCP host. ARG(byte[])|2|0 onStatusChanged=Occurs after changing of the connection status. ARG(ConnectionStatus)|2|0 *AutoReconnect=Returns a value that specifies whether reconnect to remote TCP host after failed attempts. ARG(bool)|3|104 *DataEncoding=Returns Encoding to use for sending. ARG(Encoding)|3|0 ConnectionState=Returns a value indicating whether the status of connection. ARG(ConnectionStatus)|3|0 *ConnectTimeout=Returns time to wait after a connection is attempted before a timeout event occurs. ARG(int)|3|1 *ReceiveTimeout=Returns time to wait after a receive operation is attempted before a timeout event occurs. ARG(int)|3|1 *SendBufferSize=Returns the size of the send buffer. ARG(int)|3|1 *SendTimeout=Returns time to wait after a send operation is attempted before a timeout event occurs. ARG(int)|3|1 *SyncLock=Returns syncronizing object for asyncronous operations. ARG(object)|3|0 address=Defines the address of the remote host. ARG(string)|4|2 port=Defines the port number of the remote host. ARG(int)|4|1 data=Defines the data to be sent. ARG(byte[]||string)|4|0