function tcpAddr tcpAddr(to: number | string | URL): URL Resolve TCP address. Parameters to: number | string | URL Return Type URL