Table of Contents

Method PingHost

Namespace
ViiSync.AccountApi
Assembly
ViiSync.AccountApi.dll

PingHost(string, int)

TCP connect time to a host in ms, −1 when unreachable (MT5 PingHost).

public int PingHost(string host, int port = 443)

Parameters

host string
port int

Returns

int

Remarks

MT5 equivalent

  • MT5API.PingHost(string host, int port = 443) — full