SockClient | Overloaded. Initializes a new instance of the SockClient class. |
BufferSize | Gets or sets the size of the data buffer. Set to -1 if you don't want to limit the size |
Connected | Gets the state of the socket, connected or not |
DataCoding | Gets or sets the default encoding for data codification |
PackageSize | Gets or sets the size of TCP packages. |
RemoteHost | Gets or sets the remote host or ip address |
RemotePort | Gets or sets the remote port |
BeginConnect | Begin the connection to the remote host/port |
BeginSend | Overloaded. Sends data asynchronously to a connected Socket |
Connect | Establish the connection to the remote host/port |
Disconnect | Close the current connection |
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object. |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) | Gets the Type of the current instance. |
Peek | Overloaded. Read the data available in the buffer but don't remove from it |
Pending | Gets the number of bytes available in the buffer |
Read | Overloaded. Read data available in the buffer |
ReadBytes | Overloaded. Read N number of bytes from the buffer |
ReadUntil | Overloaded. Read data from the buffer until find a specified delimiter |
Send | Overloaded. Sends data to a connected Socket |
ToString (inherited from Object) | Returns a String that represents the current Object. |
evClassException | Occurs when a unmanage error is detected |
evCloseConnection | Occurs when the connection is closed |
evDataReceived | Occurs when new data is received. |
evOpenConnection | Occurs when the connection is established. |
evSendComplete | Occurs when the BeginSend method is completed |
SockClient Class | Devshock.Net Namespace