The ISocket type exposes the following members.

Methods

  NameDescription
Public methodSupported by the .NET Compact FrameworkClose
Forces the ISocket connection to close.
Public methodSupported by the .NET Compact FrameworkConnect(EndPoint)
Establishes a connection to a remote device.
Public methodSupported by the .NET Compact FrameworkConnect(String, Int32)
Establishes a connection to a remote device.
Public methodSupported by the .NET Compact FrameworkPoll
Determines the status of the socket.
Public methodSupported by the .NET Compact FrameworkReceive
Receives the specified amount of data from the connected ISocket into a specific location of the receive buffer and using the supplied flags.
Public methodSupported by the .NET Compact FrameworkSend
Sends the specified amount of data to the connected ISocket starting at the indicated location in the data and using the supplied flags.
Public methodSupported by the .NET Compact FrameworkShutdown
Disables sends and receives on the ISocket.

Properties

  NameDescription
Public propertySupported by the .NET Compact FrameworkConnected
Gets a value that indicates whether the ISocket is connected to a remote host as of the last Send or Receive operation.
Public propertySupported by the .NET Compact FrameworkLocalEndPoint
Gets the local endpoint.
Public propertySupported by the .NET Compact FrameworkRemoteEndPoint
Gets the remote endpoint.
Public propertySupported by the .NET Compact FrameworkTimeout
Gets or sets the length of time in milliseconds before the operation times out (specify -1 or 0 to indicate that the request does not time out which is default).

See Also