The SocketWrapper type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
![]() | SocketWrapper |
Initializes a new instance of the SocketWrapper class.
|
Methods
Name | Description | |
---|---|---|
![]() | Accept |
Accepts a connection for the socket.
|
![]() | Authenticate |
Authenticates over the socket.
|
![]() | Bind |
Binds the socket to a local end point.
|
![]() | Close |
Closes the socket connection.
|
![]() | Dispose |
Releases all resources used by the SocketWrapper.
|
![]() | Dispose(Boolean) |
Releases the unmanaged resources used by the SocketWrapper and optionally
releases the managed resources.
|
![]() | ![]() | (Inherited from ![]() |
![]() | ![]() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from ![]() |
![]() | ![]() | Serves as a hash function for a particular type. (Inherited from ![]() |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | Listen |
Starts listening to data received over the socket.
|
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | OnAccepted |
Raises the Accepted event.
|
![]() | OnAcceptError |
Raises the AcceptError event.
|
![]() | OnAuthenticated |
Raises the Authenticated event.
|
![]() | OnAuthenticateError |
Raises the AuthenticateError event.
|
![]() | OnReceived |
Raises the Received event.
|
![]() | OnReceiveError |
Raises the ReceiveError event.
|
![]() | OnSendError |
Raises the SendError event.
|
![]() | OnSent |
Raises the Sent event.
|
![]() | Receive |
Receives data over the socket.
|
![]() | Send |
Sends data over the socket.
|
![]() | ![]() | Returns a string that represents the current object. (Inherited from ![]() |
Properties
Name | Description | |
---|---|---|
![]() | Connected |
Gets a value indicating whether the socket is connected.
|
![]() | RemoteIPAddress |
Gets the remote IP address of the socket connection.
|
![]() | Stream |
Gets a stream for reading and writing data.
|
Events
Name | Description | |
---|---|---|
![]() | Accepted |
Event raised when a connection is accepted by the socket.
|
![]() | AcceptError |
Event raised when an error occurs accepting a connection.
|
![]() | Authenticated |
Event raised when authentication is completed over the socket.
|
![]() | AuthenticateError |
Event raised when there is an error authenticating over the socket.
|
![]() | Received |
Event raised when data is received by the socket.
|
![]() | ReceiveError |
Event raised when there is an error receiving data.
|
![]() | SendError |
Event raised when there is an error sending data.
|
![]() | Sent |
Event raised when data is sent through the socket.
|
See Also