Client - SetProxyOptions


__cdecl FlowSshC_Client_SetProxyType
  FlowSshC_Client* client,
  bool resolveLocally);


[Client] void SetProxyOptions(bool resolveLocally);


[ClientBase] public void SetProxyOptions(bool resolveLocally);


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


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).