The ProxySocket type exposes the following members.

Constructors

  NameDescription
Public methodSupported by the .NET Compact FrameworkProxySocket()()()()
Initializes an empty instance of the ProxySocket class.
Public methodSupported by the .NET Compact FrameworkProxySocket(Socket)
Initializes a new instance of the ProxySocket class based on the specified socket.
Public methodSupported by the .NET Compact FrameworkProxySocket(Proxy)
Initializes a new instance of ProxySocket class with parameters provided in the supplied Proxy object.

Methods

  NameDescription
Public methodSupported by the .NET Compact FrameworkAccept
Accepts an incoming connection.
Public methodSupported by the .NET Compact FrameworkBeginAccept
Begins an asynchronous request to accept an incoming connection.
Public methodSupported by the .NET Compact FrameworkBeginConnect(EndPoint, AsyncCallback, Object)
Begins an asynchronous request for a connection to a network device.
Public methodSupported by the .NET Compact FrameworkBeginConnect(String, Int32, AsyncCallback, Object)
Begins an asynchronous request for a connection to a network device.
Public methodSupported by the .NET Compact FrameworkBeginListen
Starts an asynchronously request to listen for an incoming connection using the specified control socket as a base.
Public methodSupported by the .NET Compact FrameworkBeginReceive
Begins to asynchronously receive data from a connected ProxySocket.
Public methodSupported by the .NET Compact FrameworkBeginSend
Sends data asynchronously to a connected ProxySocket.
Public methodSupported by the .NET Compact FrameworkClose
Forces the ProxySocket 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 FrameworkDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodSupported by the .NET Compact FrameworkEndAccept
Ends an asynchronous request to accept an incoming connection.
Public methodSupported by the .NET Compact FrameworkEndConnect
Ends a pending asynchronous connection request.
Public methodSupported by the .NET Compact FrameworkEndListen
Ends an asynchronous request to listen for an incoming connection.
Public methodSupported by the .NET Compact FrameworkEndReceive
Ends a pending asynchronous read.
Public methodSupported by the .NET Compact FrameworkEndSend
Ends a pending asynchronous send.
Public methodSupported by the .NET Compact FrameworkEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberSupported by the .NET Compact FrameworkGetAddressBytes Obsolete.
Public methodStatic memberSupported by the .NET Compact FrameworkGetAddressLong Obsolete.
Public methodSupported by the .NET Compact FrameworkGetConnectionState
Gets a value that indicates whether the ProxySocket is currently connected to a remote host.
Public methodSupported by the .NET Compact FrameworkGetHashCode
Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberSupported by the .NET Compact FrameworkIsValidHost
Checks whether the host address is a valid hostname or IP address.
Public methodSupported by the .NET Compact FrameworkListen
Starts a request to listen for an incoming connection using the specified control socket as a base.
Protected methodSupported by the .NET Compact FrameworkMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkPoll
Determines the status of the socket.
Public methodSupported by the .NET Compact FrameworkReceive(array<Byte>[]()[][])
Receives data from a connected ProxySocket.
Public methodSupported by the .NET Compact FrameworkReceive(array<Byte>[]()[][], SocketFlags)
Receives data from a connected ProxySocket using the supplied flags.
Public methodSupported by the .NET Compact FrameworkReceive(array<Byte>[]()[][], Int32, Int32)
Receives the specified amount of data from a connected ProxySocket into a specific location of the receive buffer and using the supplied flags.
Public methodSupported by the .NET Compact FrameworkReceive(array<Byte>[]()[][], Int32, SocketFlags)
Receives the specified amount of data from a connected ProxySocket using the supplied flags.
Public methodSupported by the .NET Compact FrameworkReceive(array<Byte>[]()[][], Int32, Int32, SocketFlags)
Receives the specified amount of data from a connected ProxySocket into a specific location of the receive buffer and using the supplied flags.
Public methodSupported by the .NET Compact FrameworkSend(array<Byte>[]()[][])
Sends data to a connected ProxySocket.
Public methodSupported by the .NET Compact FrameworkSend(array<Byte>[]()[][], SocketFlags)
Sends data to a connected ProxySocket using the supplied flags.
Public methodSupported by the .NET Compact FrameworkSend(array<Byte>[]()[][], Int32, Int32)
Sends the specified amount of data to a connected ProxySocket starting at the indicated location in the data and using the supplied flags.
Public methodSupported by the .NET Compact FrameworkSend(array<Byte>[]()[][], Int32, SocketFlags)
Sends the specified amount of data to a connected ProxySocket using the supplied flags.
Public methodSupported by the .NET Compact FrameworkSend(array<Byte>[]()[][], Int32, Int32, SocketFlags)
Sends the specified amount of data to a connected ProxySocket 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 ProxySocket.
Public methodStatic memberSupported by the .NET Compact FrameworkToEndPoint(IPHostEntry, Int32)
Chooses the most appropriate IP endpoint to use from the host entry.
Public methodStatic memberSupported by the .NET Compact FrameworkToEndPoint(String, Int32)
Converts the host address and port into an IP endpoint. If the host address is not an IP address, returns null.
Public methodSupported by the .NET Compact FrameworkToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Public propertySupported by the .NET Compact FrameworkAuthenticationMethod
Gets the authentication method to use for HTTP CONNECT proxy. NTLM authentication is only supported by some HTTP CONNECT proxies.
Public propertySupported by the .NET Compact FrameworkAvailable
Gets the amount of data that has been received from the network and is available to be read.
Public propertySupported by the .NET Compact FrameworkConnected
Gets a value that indicates whether the ProxySocket is connected to a remote host as of the last Send or Receive operation.
Public propertySupported by the .NET Compact FrameworkDomain
Gets the domain to submit to the proxy server for authentication.
Public propertySupported by the .NET Compact FrameworkHandle
Gets the operating system handle for the inner Socket.
Public propertySupported by the .NET Compact FrameworkInformation
Gets socket information on the underlying socket object.
Public propertySupported by the .NET Compact FrameworkLocalEndPoint
Gets the local endpoint.
Public propertySupported by the .NET Compact FrameworkLocalPortRange
Gets the local TCP port range to which to bind the connections.
Public propertySupported by the .NET Compact FrameworkPassword
Gets the username to submit to the proxy server for authentication. Password authentication is not supported by SOCKS4 and SOCKS4a.
Public propertySupported by the .NET Compact FrameworkProxyHost
Gets the hostname of the proxy server.
Public propertySupported by the .NET Compact FrameworkProxyPort
Gets the port of the proxy server.
Public propertySupported by the .NET Compact FrameworkProxyType
Gets the type of the proxy server.
Public propertySupported by the .NET Compact FrameworkRemoteEndPoint
Gets the remote endpoint.
Public propertySupported by the .NET Compact FrameworkSocket
Gets the internal Socket value.
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).
Public propertySupported by the .NET Compact FrameworkUserName
Gets the username to submit to the proxy server for authentication.

Explicit Interface Implementations

  NameDescription
Explicit interface implemetationPrivate propertySupported by the .NET Compact FrameworkISocketExt..::..Factory

See Also