Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Socket Methods

The Socket type exposes the following members.

  Name Description
Public method Static member Supported by Silverlight for Windows Phone CancelConnectAsync Cancels an outstanding asynchronous socket operation for a remote host connection.
Public method Supported by Silverlight for Windows Phone Close() Closes the Socket connection and releases all associated resources.
Public method Supported by Silverlight for Windows Phone Close(Int32) Closes the Socket connection and releases all associated resources with a specified timeout to allow queued data to be sent.
Public method Supported by Silverlight for Windows Phone ConnectAsync(SocketAsyncEventArgs) Begins an asynchronous request for a remote host connection.
Public method Static member Supported by Silverlight for Windows Phone ConnectAsync(SocketType, ProtocolType, SocketAsyncEventArgs) Begins an asynchronous request for a remote host connection.
Public method Supported by Silverlight for Windows Phone Dispose() Releases the unmanaged resources used by the Socket, and optionally disposes of the managed resources.
Protected method Supported by Silverlight for Windows Phone Dispose(Boolean) Releases the unmanaged resources used by the Socket, and optionally disposes of the managed resources.
Public method Supported by Silverlight for Windows Phone Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Supported by Silverlight for Windows Phone Finalize Frees resources used by the Socket class. (Overrides Object.Finalize().)
Public method Supported by Silverlight for Windows Phone GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method Supported by Silverlight for Windows Phone GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method Supported by Silverlight for Windows Phone MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Supported by Silverlight for Windows Phone ReceiveAsync Begins an asynchronous request to receive data from a connected Socket object.
Public method Supported by Silverlight for Windows Phone ReceiveFromAsync Begins an asynchronous request to receive data from a specific remote host.
Public method Supported by Silverlight for Windows Phone SendAsync Sends data asynchronously to a connected Socket object.
Public method Supported by Silverlight for Windows Phone SendToAsync Sends data asynchronously to a specific remote host.
Public method Supported by Silverlight for Windows Phone Shutdown Disables sends and receives on a Socket.
Public method Supported by Silverlight for Windows Phone ToString Returns a string that represents the current object. (Inherited from Object.)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.