SocketWrapper MembersWebDriver

The SocketWrapper type exposes the following members.
Constructors

  NameDescription
Public methodSocketWrapper
Initializes a new instance of the SocketWrapper class.
Back to Top
Methods

  NameDescription
Public methodAccept
Accepts a connection for the socket.
Public methodAuthenticate
Authenticates over the socket.
Public methodBind
Binds the socket to a local end point.
Public methodClose
Closes the socket connection.
Public methodDispose 
Releases all resources used by the SocketWrapper.
Protected methodDispose(Boolean)
Releases the unmanaged resources used by the SocketWrapper and optionally releases the managed resources.
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodListen
Starts listening to data received over the socket.
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnAccepted
Raises the Accepted event.
Protected methodOnAcceptError
Raises the AcceptError event.
Protected methodOnAuthenticated
Raises the Authenticated event.
Protected methodOnAuthenticateError
Raises the AuthenticateError event.
Protected methodOnReceived
Raises the Received event.
Protected methodOnReceiveError
Raises the ReceiveError event.
Protected methodOnSendError
Raises the SendError event.
Protected methodOnSent
Raises the Sent event.
Public methodReceive
Receives data over the socket.
Public methodSend
Sends data over the socket.
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Properties

  NameDescription
Public propertyConnected
Gets a value indicating whether the socket is connected.
Public propertyRemoteIPAddress
Gets the remote IP address of the socket connection.
Public propertyStream
Gets a stream for reading and writing data.
Back to Top
Events

  NameDescription
Public eventAccepted
Event raised when a connection is accepted by the socket.
Public eventAcceptError
Event raised when an error occurs accepting a connection.
Public eventAuthenticated
Event raised when authentication is completed over the socket.
Public eventAuthenticateError
Event raised when there is an error authenticating over the socket.
Public eventReceived
Event raised when data is received by the socket.
Public eventReceiveError
Event raised when there is an error receiving data.
Public eventSendError
Event raised when there is an error sending data.
Public eventSent
Event raised when data is sent through the socket.
Back to Top
See Also