ProxySocket Constructor
Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9083)
ProxySocket()
Initializes an empty instance of the ProxySocket class.
Declaration
public ProxySocket()
Remarks
The default constructor initializes an instance of the ProxySocket class with the ProxyType property set to ProxyType.None.
ProxySocket(Socket)
Initializes a new instance of the ProxySocket class based on the specified socket.
Declaration
public ProxySocket(Socket socket)
Parameters
Type | Name | Description |
---|---|---|
Socket | socket | Socket to base the ProxySocket instance on. |
ProxySocket(Proxy)
Initializes a new instance of ProxySocket class with parameters provided in the supplied Proxy object.
Declaration
public ProxySocket(Proxy proxy)
Parameters
Type | Name | Description |
---|---|---|
Proxy | proxy | Contains parameters used to initialize this ProxySocket. |