Click or drag to resize

ProxySocket Class

Implements a Socket class that can connect trough a SOCKS proxy server.
Inheritance Hierarchy
System.Net.SocketsSocket
  mtapi.mt5ProxySocket

Namespace: mtapi.mt5
Assembly: mt5api (in mt5api.dll) Version: 5.3677.1.2
Syntax
public class ProxySocket : Socket

The ProxySocket type exposes the following members.

Constructors
 NameDescription
Public methodProxySocket(AddressFamily, SocketType, ProtocolType) Initializes a new instance of the ProxySocket class.
Public methodProxySocket(AddressFamily, SocketType, ProtocolType, String) Initializes a new instance of the ProxySocket class.
Public methodProxySocket(AddressFamily, SocketType, ProtocolType, String, String) Initializes a new instance of the ProxySocket class.
Top
Properties
 NameDescription
Public propertyProxyEndPoint Gets or sets the EndPoint of the proxy server.
Public propertyProxyPass Gets or sets the password to use when authenticating with the proxy.
Public propertyProxyType Gets or sets the type of proxy server to use.
Public propertyProxyUser Gets or sets the username to use when authenticating with the proxy.
Top
Methods
 NameDescription
Public methodBeginConnect(EndPoint, AsyncCallback, Object) Begins an asynchronous request for a connection to a network device.
Public methodBeginConnect(String, Int32, AsyncCallback, Object) Begins an asynchronous request for a connection to a network device.
Public methodConnect(EndPoint) Establishes a connection to a remote device.
Public methodConnect(String, Int32) Establishes a connection to a remote device.
Public methodEndConnect Ends a pending asynchronous connection request.
Top
Remarks
This class implements SOCKS4[A] and SOCKS5.
It does not, however, implement the BIND commands, so you cannot .
See Also