Implements the subset of the Berkeley sockets interface (or the Socket class) and adds the ability to connect through Socks4/Socks5 or HTTP proxies.

Syntax

public class ProxySocket : ISocket

Remarks

This class is suitable for extending your client applications with the ability to connect through proxies.

This class is limited to operations supported by proxies - it is not a replacement for the Socket. This means it is perfect for writing clients, but useless for writing servers.

Only connection-oriented protocols are supported at the moment

Inheritance Hierarchy

   ComponentPro.Net.ComponentPro.Net.ProxySocket

Framework

.NET Compact Framework.NET Compact Framework

Supported version: 2.0, 3.5, and 3.9
Assembly: ComponentPro.Network.CF (in ComponentPro.Network.CF.dll)

.NET Framework.NET Framework

Supported version: 2.0, 3.0, 3.5, 4.0, 4.5.x, 4.6.x and later
Assembly: ComponentPro.Network (in ComponentPro.Network.dll)

Xamarin AndroidXamarin Android

Supported version: 2.3 and later
Assembly: ComponentPro.Network.Android (in ComponentPro.Network.Android.dll)

Xamarin MacXamarin Mac

Supported version: 2.0.x and later
Assembly: ComponentPro.Network.Mac (in ComponentPro.Network.Mac.dll)

Xamarin iOSXamarin iOS

Supported version: 5.1.x and later
Assembly: ComponentPro.Network.iOS (in ComponentPro.Network.iOS.dll)

See Also