Mentalis.org Security Library documentation

VirtualSocket Methods

The methods of the VirtualSocket class are listed below. For a complete list of VirtualSocket class members, see the VirtualSocket Members topic.

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 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