The ProxySocket type exposes the following members.

Methods

  Name Description
Public method Accept
Creates a new Socket for a newly created connection.
(Inherited from Socket.)
Public method AcceptAsync
Begins an asynchronous operation to accept an incoming connection attempt.
(Inherited from Socket.)
Public method BeginAccept(AsyncCallback, Object)
Begins an asynchronous operation to accept an incoming connection attempt.
(Inherited from Socket.)
Public method BeginAccept(Int32, AsyncCallback, Object)
Begins an asynchronous operation to accept an incoming connection attempt and receives the first block of data sent by the client application.
(Inherited from Socket.)
Public method BeginAccept(Socket, Int32, AsyncCallback, Object)
Begins an asynchronous operation to accept an incoming connection attempt from a specified socket and receives the first block of data sent by the client application.
(Inherited from Socket.)
Public method BeginConnect(EndPoint, AsyncCallback, Object)
Begins an asynchronous request for a connection to a network device.
Public method BeginConnect(IPAddress, Int32, AsyncCallback, Object)
Begins an asynchronous request for a remote host connection. The host is specified by an IPAddress and a port number.
(Inherited from Socket.)
Public method BeginConnect(array<IPAddress>[]()[][], Int32, AsyncCallback, Object)
Begins an asynchronous request for a remote host connection. The host is specified by an IPAddress array and a port number.
(Inherited from Socket.)
Public method BeginConnect(String, Int32, AsyncCallback, Object)
Begins an asynchronous request for a connection to a network device.
Public method BeginDisconnect
Begins an asynchronous request to disconnect from a remote endpoint.
(Inherited from Socket.)
Public method BeginReceive(IList<(Of <<'(ArraySegment<(Of <<'(Byte>)>>)>)>>), SocketFlags, AsyncCallback, Object)
Begins to asynchronously receive data from a connected Socket.
(Inherited from Socket.)
Public method BeginReceive(IList<(Of <<'(ArraySegment<(Of <<'(Byte>)>>)>)>>), SocketFlags, SocketError%, AsyncCallback, Object)
Begins to asynchronously receive data from a connected Socket.
(Inherited from Socket.)
Public method BeginReceive(array<Byte>[]()[][], Int32, Int32, SocketFlags, AsyncCallback, Object)
Begins to asynchronously receive data from a connected Socket.
(Inherited from Socket.)
Public method BeginReceive(array<Byte>[]()[][], Int32, Int32, SocketFlags, SocketError%, AsyncCallback, Object)
Begins to asynchronously receive data from a connected Socket.
(Inherited from Socket.)
Public method BeginReceiveFrom
Begins to asynchronously receive data from a specified network device.
(Inherited from Socket.)
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..
(Inherited from Socket.)
Public method BeginSend(IList<(Of <<'(ArraySegment<(Of <<'(Byte>)>>)>)>>), SocketFlags, AsyncCallback, Object)
Sends data asynchronously to a connected Socket.
(Inherited from Socket.)
Public method BeginSend(IList<(Of <<'(ArraySegment<(Of <<'(Byte>)>>)>)>>), SocketFlags, SocketError%, AsyncCallback, Object)
Sends data asynchronously to a connected Socket.
(Inherited from Socket.)
Public method BeginSend(array<Byte>[]()[][], Int32, Int32, SocketFlags, AsyncCallback, Object)
Sends data asynchronously to a connected Socket.
(Inherited from Socket.)
Public method BeginSend(array<Byte>[]()[][], Int32, Int32, SocketFlags, SocketError%, AsyncCallback, Object)
Sends data asynchronously to a connected Socket.
(Inherited from Socket.)
Public method BeginSendFile(String, AsyncCallback, Object)
Sends the file fileName to a connected Socket object using the UseDefaultWorkerThread flag.
(Inherited from Socket.)
Public method BeginSendFile(String, array<Byte>[]()[][], array<Byte>[]()[][], TransmitFileOptions, AsyncCallback, Object)
Sends a file and buffers of data asynchronously to a connected Socket object.
(Inherited from Socket.)
Public method BeginSendTo
Sends data asynchronously to a specific remote host.
(Inherited from Socket.)
Public method Bind
Associates a Socket with a local endpoint.
(Inherited from Socket.)
Public method Close()()()()
Closes the Socket connection and releases all associated resources.
(Inherited from Socket.)
Public method Close(Int32)
Closes the Socket connection and releases all associated resources.
(Inherited from Socket.)
Public method Connect(EndPoint)
Establishes a connection to a remote device.
Public method Connect(IPAddress, Int32)
Establishes a connection to a remote host. The host is specified by an IP address and a port number.
(Inherited from Socket.)
Public method Connect(array<IPAddress>[]()[][], Int32)
Establishes a connection to a remote host. The host is specified by an array of IP addresses and a port number.
(Inherited from Socket.)
Public method Connect(String, Int32)
Establishes a connection to a remote device.
Public method ConnectAsync
Begins an asynchronous request for a remote host connection.
(Inherited from Socket.)
Public method Disconnect
Closes the socket connection and allows reuse of the socket.
(Inherited from Socket.)
Public method DisconnectAsync
Begins an asynchronous request to disconnect from a remote endpoint.
(Inherited from Socket.)
Protected method Dispose
Releases the unmanaged resources used by the Socket, and optionally disposes of the managed resources.
(Inherited from Socket.)
Public method DuplicateAndClose
Duplicates the socket reference for the target process, and closes the socket for this process.
(Inherited from Socket.)
Public method EndAccept(IAsyncResult)
Asynchronously accepts an incoming connection attempt and creates a new Socket to handle remote host communication.
(Inherited from Socket.)
Public method EndAccept(array<Byte>[]()[][]%, IAsyncResult)
Asynchronously accepts an incoming connection attempt and creates a new Socket object to handle remote host communication. This method returns a buffer that contains the initial data transferred.
(Inherited from Socket.)
Public method EndAccept(array<Byte>[]()[][]%, Int32%, IAsyncResult)
Asynchronously accepts an incoming connection attempt and creates a new Socket object to handle remote host communication. This method returns a buffer that contains the initial data and the number of bytes transferred.
(Inherited from Socket.)
Public method EndConnect
Ends a pending asynchronous connection request.
Public method EndDisconnect
Ends a pending asynchronous disconnect request.
(Inherited from Socket.)
Public method EndReceive(IAsyncResult)
Ends a pending asynchronous read.
(Inherited from Socket.)
Public method EndReceive(IAsyncResult, SocketError%)
Ends a pending asynchronous read.
(Inherited from Socket.)
Public method EndReceiveFrom
Ends a pending asynchronous read from a specific endpoint.
(Inherited from Socket.)
Public method EndReceiveMessageFrom
Ends a pending asynchronous read from a specific endpoint. This method also reveals more information about the packet than EndReceiveFrom(IAsyncResult, EndPoint%).
(Inherited from Socket.)
Public method EndSend(IAsyncResult)
Ends a pending asynchronous send.
(Inherited from Socket.)
Public method EndSend(IAsyncResult, SocketError%)
Ends a pending asynchronous send.
(Inherited from Socket.)
Public method EndSendFile
Ends a pending asynchronous send of a file.
(Inherited from Socket.)
Public method EndSendTo
Ends a pending asynchronous send to a specific location.
(Inherited from Socket.)
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Frees resources used by the Socket class.
(Inherited from Socket.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetSocketOption(SocketOptionLevel, SocketOptionName)
Returns the value of a specified Socket option, represented as an object.
(Inherited from Socket.)
Public method GetSocketOption(SocketOptionLevel, SocketOptionName, array<Byte>[]()[][])
Returns the specified Socket option setting, represented as a byte array.
(Inherited from Socket.)
Public method GetSocketOption(SocketOptionLevel, SocketOptionName, Int32)
Returns the value of the specified Socket option in an array.
(Inherited from Socket.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method IOControl(Int32, array<Byte>[]()[][], array<Byte>[]()[][])
Sets low-level operating modes for the Socket using numerical control codes.
(Inherited from Socket.)
Public method IOControl(IOControlCode, array<Byte>[]()[][], array<Byte>[]()[][])
Sets low-level operating modes for the Socket using the IOControlCode enumeration to specify control codes.
(Inherited from Socket.)
Public method Listen
Places a Socket in a listening state.
(Inherited from Socket.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method Poll
Determines the status of the Socket.
(Inherited from Socket.)
Public method Receive(array<Byte>[]()[][])
Receives data from a bound Socket into a receive buffer.
(Inherited from Socket.)
Public method Receive(IList<(Of <<'(ArraySegment<(Of <<'(Byte>)>>)>)>>))
Receives data from a bound Socket into the list of receive buffers.
(Inherited from Socket.)
Public method Receive(array<Byte>[]()[][], SocketFlags)
Receives data from a bound Socket into a receive buffer, using the specified SocketFlags.
(Inherited from Socket.)
Public method Receive(IList<(Of <<'(ArraySegment<(Of <<'(Byte>)>>)>)>>), SocketFlags)
Receives data from a bound Socket into the list of receive buffers, using the specified SocketFlags.
(Inherited from Socket.)
Public method Receive(array<Byte>[]()[][], Int32, SocketFlags)
Receives the specified number of bytes of data from a bound Socket into a receive buffer, using the specified SocketFlags.
(Inherited from Socket.)
Public method Receive(IList<(Of <<'(ArraySegment<(Of <<'(Byte>)>>)>)>>), SocketFlags, SocketError%)
Receives data from a bound Socket into the list of receive buffers, using the specified SocketFlags.
(Inherited from Socket.)
Public method Receive(array<Byte>[]()[][], Int32, Int32, SocketFlags)
Receives the specified number of bytes from a bound Socket into the specified offset position of the receive buffer, using the specified SocketFlags.
(Inherited from Socket.)
Public method Receive(array<Byte>[]()[][], Int32, Int32, SocketFlags, SocketError%)
Receives data from a bound Socket into a receive buffer, using the specified SocketFlags.
(Inherited from Socket.)
Public method ReceiveAsync
Begins an asynchronous request to receive data from a connected Socket object.
(Inherited from Socket.)
Public method ReceiveFrom(array<Byte>[]()[][], EndPoint%)
Receives a datagram into the data buffer and stores the endpoint.
(Inherited from Socket.)
Public method ReceiveFrom(array<Byte>[]()[][], SocketFlags, EndPoint%)
Receives a datagram into the data buffer, using the specified SocketFlags, and stores the endpoint.
(Inherited from Socket.)
Public method ReceiveFrom(array<Byte>[]()[][], Int32, SocketFlags, EndPoint%)
Receives the specified number of bytes into the data buffer, using the specified SocketFlags, and stores the endpoint.
(Inherited from Socket.)
Public method ReceiveFrom(array<Byte>[]()[][], Int32, Int32, SocketFlags, EndPoint%)
Receives the specified number of bytes of data into the specified location of the data buffer, using the specified SocketFlags, and stores the endpoint.
(Inherited from Socket.)
Public method ReceiveFromAsync
Begins to asynchronously receive data from a specified network device.
(Inherited from Socket.)
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.
(Inherited from Socket.)
Public method ReceiveMessageFromAsync
Begins to asynchronously receive the specified number of bytes of data into the specified location in the data buffer, using the specified SocketFlags, and stores the endpoint and packet information.
(Inherited from Socket.)
Public method Send(array<Byte>[]()[][])
Sends data to a connected Socket.
(Inherited from Socket.)
Public method Send(IList<(Of <<'(ArraySegment<(Of <<'(Byte>)>>)>)>>))
Sends the set of buffers in the list to a connected Socket.
(Inherited from Socket.)
Public method Send(array<Byte>[]()[][], SocketFlags)
Sends data to a connected Socket using the specified SocketFlags.
(Inherited from Socket.)
Public method Send(IList<(Of <<'(ArraySegment<(Of <<'(Byte>)>>)>)>>), SocketFlags)
Sends the set of buffers in the list to a connected Socket, using the specified SocketFlags.
(Inherited from Socket.)
Public method Send(array<Byte>[]()[][], Int32, SocketFlags)
Sends the specified number of bytes of data to a connected Socket, using the specified SocketFlags.
(Inherited from Socket.)
Public method Send(IList<(Of <<'(ArraySegment<(Of <<'(Byte>)>>)>)>>), SocketFlags, SocketError%)
Sends the set of buffers in the list to a connected Socket, using the specified SocketFlags.
(Inherited from Socket.)
Public method Send(array<Byte>[]()[][], Int32, Int32, SocketFlags)
Sends the specified number of bytes of data to a connected Socket, starting at the specified offset, and using the specified SocketFlags.
(Inherited from Socket.)
Public method Send(array<Byte>[]()[][], Int32, Int32, SocketFlags, SocketError%)
Sends the specified number of bytes of data to a connected Socket, starting at the specified offset, and using the specified SocketFlags
(Inherited from Socket.)
Public method SendAsync
Sends data asynchronously to a connected Socket object.
(Inherited from Socket.)
Public method SendFile(String)
Sends the file fileName to a connected Socket object with the UseDefaultWorkerThread transmit flag.
(Inherited from Socket.)
Public method SendFile(String, array<Byte>[]()[][], array<Byte>[]()[][], TransmitFileOptions)
Sends the file fileName and buffers of data to a connected Socket object using the specified TransmitFileOptions value.
(Inherited from Socket.)
Public method SendPacketsAsync
Sends a collection of files or in memory data buffers asynchronously to a connected Socket object.
(Inherited from Socket.)
Public method SendTo(array<Byte>[]()[][], EndPoint)
Sends data to the specified endpoint.
(Inherited from Socket.)
Public method SendTo(array<Byte>[]()[][], SocketFlags, EndPoint)
Sends data to a specific endpoint using the specified SocketFlags.
(Inherited from Socket.)
Public method SendTo(array<Byte>[]()[][], Int32, SocketFlags, EndPoint)
Sends the specified number of bytes of data to the specified endpoint using the specified SocketFlags.
(Inherited from Socket.)
Public method SendTo(array<Byte>[]()[][], Int32, Int32, SocketFlags, EndPoint)
Sends the specified number of bytes of data to the specified endpoint, starting at the specified location in the buffer, and using the specified SocketFlags.
(Inherited from Socket.)
Public method SendToAsync
Sends data asynchronously to a specific remote host.
(Inherited from Socket.)
Public method SetSocketOption(SocketOptionLevel, SocketOptionName, Int32)
Sets the specified Socket option to the specified integer value.
(Inherited from Socket.)
Public method SetSocketOption(SocketOptionLevel, SocketOptionName, array<Byte>[]()[][])
Sets the specified Socket option to the specified value, represented as a byte array.
(Inherited from Socket.)
Public method SetSocketOption(SocketOptionLevel, SocketOptionName, Boolean)
Sets the specified Socket option to the specified Boolean value.
(Inherited from Socket.)
Public method SetSocketOption(SocketOptionLevel, SocketOptionName, Object)
Sets the specified Socket option to the specified value, represented as an object.
(Inherited from Socket.)
Public method Shutdown
Disables sends and receives on a Socket.
(Inherited from Socket.)
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)

See Also