The ProxySocket type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() ![]() | Accept |
Accepts an incoming connection.
|
![]() ![]() | BeginAccept |
Begins an asynchronous request to accept an incoming connection.
|
![]() ![]() | BeginConnect(EndPoint, AsyncCallback, Object) |
Begins an asynchronous request for a connection to a network device.
|
![]() ![]() | BeginConnect(String, Int32, AsyncCallback, Object) |
Begins an asynchronous request for a connection to a network device.
|
![]() ![]() | BeginListen |
Starts an asynchronously request to listen for an incoming connection using the specified control socket as a base.
|
![]() ![]() | BeginReceive |
Begins to asynchronously receive data from a connected ProxySocket.
|
![]() ![]() | BeginSend |
Sends data asynchronously to a connected ProxySocket.
|
![]() ![]() | Close |
Forces the ProxySocket connection to close.
|
![]() ![]() | Connect(EndPoint) |
Establishes a connection to a remote device.
|
![]() ![]() | Connect(String, Int32) |
Establishes a connection to a remote device.
|
![]() ![]() | Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
![]() ![]() | EndAccept |
Ends an asynchronous request to accept an incoming connection.
|
![]() ![]() | EndConnect |
Ends a pending asynchronous connection request.
|
![]() ![]() | EndListen |
Ends an asynchronous request to listen for an incoming connection.
|
![]() ![]() | EndReceive |
Ends a pending asynchronous read.
|
![]() ![]() | EndSend |
Ends a pending asynchronous send.
|
![]() ![]() | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() ![]() | Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() ![]() ![]() | GetAddressBytes | Obsolete. |
![]() ![]() ![]() | GetAddressLong | Obsolete. |
![]() ![]() | GetConnectionState |
Gets a value that indicates whether the ProxySocket is currently connected to a remote host.
|
![]() ![]() | GetHashCode | 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.) |
![]() ![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() ![]() | IsValidHost |
Checks whether the host address is a valid hostname or IP address.
|
![]() ![]() | Listen |
Starts a request to listen for an incoming connection using the specified control socket as a base.
|
![]() ![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() | Poll |
Determines the status of the socket.
|
![]() ![]() | Receive(array<Byte>[]()[][]) |
Receives data from a connected ProxySocket.
|
![]() ![]() | Receive(array<Byte>[]()[][], SocketFlags) |
Receives data from a connected ProxySocket using the supplied flags.
|
![]() ![]() | Receive(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.
|
![]() ![]() | Receive(array<Byte>[]()[][], Int32, SocketFlags) |
Receives the specified amount of data from a connected ProxySocket using the supplied flags.
|
![]() ![]() | Receive(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.
|
![]() ![]() | Send(array<Byte>[]()[][]) |
Sends data to a connected ProxySocket.
|
![]() ![]() | Send(array<Byte>[]()[][], SocketFlags) |
Sends data to a connected ProxySocket using the supplied flags.
|
![]() ![]() | Send(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.
|
![]() ![]() | Send(array<Byte>[]()[][], Int32, SocketFlags) |
Sends the specified amount of data to a connected ProxySocket using the supplied flags.
|
![]() ![]() | Send(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.
|
![]() ![]() | Shutdown |
Disables sends and receives on the ProxySocket.
|
![]() ![]() ![]() | ToEndPoint(IPHostEntry, Int32) |
Chooses the most appropriate IP endpoint to use from the host entry.
|
![]() ![]() ![]() | ToEndPoint(String, Int32) |
Converts the host address and port into an IP endpoint. If the host address is not an IP address, returns null.
|
![]() ![]() | ToString | Returns a String that represents the current Object. (Inherited from Object.) |