Export (0) Print
Expand All

Socket Methods

(see also Protected Methods )
  Name Description
Public method Supported by the .NET Compact Framework Accept Creates a new Socket for a newly created connection.
Public method Supported by the .NET Compact Framework BeginAccept Overloaded. Begins an asynchronous operation to accept an incoming connection attempt.
Public method Supported by the .NET Compact Framework BeginConnect Overloaded. Begins an asynchronous request for a remote host connection.
Public method BeginDisconnect Begins an asynchronous request to disconnect from a remote endpoint.
Public method Supported by the .NET Compact Framework BeginReceive Overloaded. Begins to asynchronously receive data from a connected Socket.
Public method Supported by the .NET Compact Framework BeginReceiveFrom Begins to asynchronously receive data from a specified network device.
Public method BeginReceiveMessageFrom Begins to asynchronously receive the specified number of bytes of data into the specified location of the data buffer, using the specified SocketFlags, and stores the endpoint and packet information..
Public method Supported by the .NET Compact Framework BeginSend Overloaded. Sends data asynchronously to a connected Socket.
Public method BeginSendFile Overloaded. Sends a file asynchronously to a connected Socket object.
Public method Supported by the .NET Compact Framework BeginSendTo Sends data asynchronously to a specific remote host.
Public method Supported by the .NET Compact Framework Bind Associates a Socket with a local endpoint.
Public method Supported by the .NET Compact Framework Close Overloaded. Closes the Socket connection and releases all associated resources.
Public method Supported by the .NET Compact Framework Connect Overloaded. Establishes a connection to a remote host.
Public method Disconnect Closes the socket connection and allows reuse of the socket.
Public method DuplicateAndClose Duplicates the socket reference for the target process, and closes the socket for this process.
Public method Supported by the .NET Compact Framework EndAccept Overloaded. Asynchronously accepts an incoming connection attempt.
Public method Supported by the .NET Compact Framework EndConnect Ends a pending asynchronous connection request.
Public method EndDisconnect Ends a pending asynchronous disconnect request.
Public method Supported by the .NET Compact Framework EndReceive Overloaded. Ends a pending asynchronous read.
Public method Supported by the .NET Compact Framework EndReceiveFrom Ends a pending asynchronous read from a specific endpoint.
Public method EndReceiveMessageFrom Ends a pending asynchronous read from a specific endpoint. This method also reveals more information about the packet than EndReceiveFrom.
Public method Supported by the .NET Compact Framework EndSend Overloaded. Ends a pending asynchronous send.
Public method EndSendFile Ends a pending asynchronous send of a file.
Public method Supported by the .NET Compact Framework EndSendTo Ends a pending asynchronous send to a specific location.
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Supported by the .NET Compact Framework GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method Supported by the .NET Compact Framework GetSocketOption Overloaded. Returns the value of a Socket option.
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (inherited from Object)
Public method Supported by the .NET Compact Framework IOControl Overloaded. Sets low-level operating modes for the Socket.
Public method Supported by the .NET Compact Framework Listen Places a Socket in a listening state.
Public method Supported by the .NET Compact Framework Poll Determines the status of the Socket.
Public method Supported by the .NET Compact Framework Receive Overloaded. Receives data from a bound Socket.
Public method Supported by the .NET Compact Framework ReceiveFrom Overloaded. Receives a datagram and stores the source endpoint.
Public method ReceiveMessageFrom Receives the specified number of bytes of data into the specified location of the data buffer, using the specified SocketFlags, and stores the endpoint and packet information.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Static Supported by the .NET Compact Framework Select Determines the status of one or more sockets.
Public method Supported by the .NET Compact Framework Send Overloaded. Sends data to a connected Socket.
Public method SendFile Overloaded. Sends a file and optional data synchronously to a connected Socket.
Public method Supported by the .NET Compact Framework SendTo Overloaded. Sends data to a specific endpoint.
Public method Supported by the .NET Compact Framework SetSocketOption Overloaded. Sets a Socket option.
Public method Supported by the .NET Compact Framework Shutdown Disables sends and receives on a Socket.
Public method Supported by the .NET Compact Framework ToString  Returns a String that represents the current Object. (inherited from Object)
Top

  Name Description
Protected method Supported by the .NET Compact Framework Dispose Releases the unmanaged resources used by the Socket, and optionally disposes of the managed resources.
Protected method Supported by the .NET Compact Framework Finalize Overridden. Frees resources used by the Socket class.
Protected method Supported by the .NET Compact Framework MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top

Community Additions

ADD
Show:
© 2014 Microsoft