Click or drag to resize
SocketConnection Class

[Missing <summary> documentation for "T:AsterNET.IO.SocketConnection"]

Inheritance Hierarchy
SystemObject
  AsterNET.IOSocketConnection

Namespace: AsterNET.IO
Assembly: AsterNET (in AsterNET.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class SocketConnection

The SocketConnection type exposes the following members.

Constructors
  NameDescription
Public methodSocketConnection
Consructor
Top
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
Properties
  NameDescription
Public propertyEncoding
Public propertyInitial
Public propertyIsConnected
Returns the connection state of the socket.
Public propertyLocalAddress
Public propertyLocalPort
Public propertyNetworkStream
Public propertyRemoteAddress
Public propertyRemotePort
Public propertyTcpClient
Top
See Also