Click or drag to resize
SocketConnection Methods

The SocketConnection type exposes the following members.

Methods
  NameDescription
Public methodClose
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.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReadLine
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.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWrite
Sends a given String to the socket connection.
Public methodWriteEx
Sends a given String to the socket connection.
Top
See Also