Mentalis.org Security Library documentation

VirtualSocket Members

Public Instance Constructors

VirtualSocketOverloaded. Initialize a new instance of the VirtualSocket class.

Public Instance Properties

AddressFamily Gets the address family of the VirtualSocket.
Available Gets the amount of data that has been received from the network and is available to be read.
Blocking Gets or sets a value that indicates whether the VirtualSocket is in blocking mode.
Connected Gets a value indicating whether a VirtualSocket is connected to a remote resource.
Handle Gets the operating system handle for the VirtualSocket.
LocalEndPoint Gets the local endpoint.
ProtocolType Gets the protocol type of the VirtualSocket.
RemoteEndPoint Gets the remote endpoint.
SocketType Gets the type of the VirtualSocket.

Public Instance Methods

Accept Creates a new VirtualSocket to handle an incoming connection request.
BeginAccept Begins an asynchronous request to create a new VirtualSocket to accept an incoming connection request.
BeginConnect Begins an asynchronous request for a connection to a network device.
BeginReceive Begins to asynchronously receive data from a connected VirtualSocket.
BeginReceiveFrom Begins to asynchronously receive data from a specified network device.
BeginSend Sends data asynchronously to a connected VirtualSocket.
BeginSendTo Sends data asynchronously to a specific remote host.
Bind Associates a VirtualSocket with a local endpoint.
Close Forces a VirtualSocket connection to close.
Connect Establishes a connection to a remote device.
EndAccept Ends an asynchronous request to create a new VirtualSocket to accept an incoming connection request.
EndConnect Ends a pending asynchronous connection request.
EndReceive Ends a pending asynchronous read.
EndReceiveFrom Ends a pending asynchronous read from a specific endpoint.
EndSend Ends a pending asynchronous send.
EndSendTo Ends a pending asynchronous send to a specific location.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode This member overrides Object.GetHashCode.
GetSocketOptionOverloaded. Returns the value of the specified Socket option and returns in an array.
GetType (inherited from Object)Gets the Type of the current instance.
IOControl Sets low-level operating modes for the VirtualSocket.
Listen Places a VirtualSocket in a listening state.
Poll Determines the status of the VirtualSocket.
ReceiveOverloaded. Receives data from a connected VirtualSocket in a specific location of the receive buffer.
ReceiveFromOverloaded. Receives a datagram in a specific location in the data buffer and stores the endpoint.
SendOverloaded. Sends data to a connected VirtualSocket, starting at the indicated location in the data.
SendToOverloaded. Sends data to a specific endpoint, starting at the indicated location in the data.
SetSocketOptionOverloaded. Sets the specified option to the specified value.
Shutdown Disables sends and receives on a VirtualSocket.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Constructors

VirtualSocketOverloaded. Initialize a new instance of the VirtualSocket class.

Protected Instance Properties

InternalSocket Gets or sets the internal Socket value.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
InternalAccept Creates a new Socket to handle an incoming connection request.
InternalEndAccept Ends an asynchronous request to create a new Socket to accept an incoming connection request.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

VirtualSocket Class | Org.Mentalis.Security.Ssl Namespace