SocketConnection Methods |
The SocketConnection type exposes the following members.
Name | Description | |
---|---|---|
Close |
Closes the socket connection including its input and output stream and
frees all associated ressources. When calling close() any Thread currently blocked by a call to readLine() will be unblocked and receive an IOException. | |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ReadLine |
Reads a line of text from the socket connection. The current thread is
blocked until either the next line is received or an IOException
encounters.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Write |
Sends a given String to the socket connection.
| |
WriteEx |
Sends a given String to the socket connection.
|