Client - SetProxyOptions

[C]

__cdecl FlowSshC_Client_SetProxyType
  FlowSshC_Client* client,
  bool resolveLocally);

[C++]

[Client] void SetProxyOptions(bool resolveLocally);

[C#]

[ClientBase] public void SetProxyOptions(bool resolveLocally);

Parameters

  • [C] client: FlowSshC_Client pointer.
  • resolveLocally: Resolve DNS names locally or let the proxy server do it?

Remarks

Use SetProxyOptions to specify how DNS names will be resolved - locally or by the proxy server. They are resolved locally by default. SOCKSv4 supports DNS names starting with the SOCKSv4a extension. Therefore, if your SOCKSv4 proxy does not support the SOCKSv4a extension, DNS names must be resolved locally (resolveLocally=true).