Class TcpComm
It represents a TCP/IP BIDI Comm at the client side.
Inheritance
System.Object
TcpComm
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Neodynamic.Blazor
Assembly: cs.temp.dll.dll
Syntax
public class TcpComm
Properties
Address
Gets or sets IP address, for example 10.0.0.1 . Default value is an empty string.
Declaration
public string Address { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DataToSend
Gets or sets the data to send.
Declaration
public string DataToSend { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Id
Gets an unique ID.
Declaration
public string Id { get; }
Property Value
Type | Description |
---|---|
System.String |
Port
Gets or sets the TCP port. Default value is 0
Declaration
public int Port { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ReceiveBufferSize
Gets or sets the size of the receive buffer, in bytes. Default value is 8192
Declaration
public int ReceiveBufferSize { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Timeout
Gets or sets the milliseconds to wait to receive data once a read operation is initiated. Default value is 1000
Declaration
public int Timeout { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
GenerateUniqueId()
Generates an unique ID for this job.
Declaration
public void GenerateUniqueId()