NetworkHelper GetAddressTTLDistanceSync Method sP2P NAT Traversal and peer-to-peer networking API
sP2P NAT Traversal and peer-to-peer networking API
Measure minimal TTL distance to some remote public host synchronously. Note that this operation is time consuming and blocking

Namespace: sP2PLib
Assembly: sP2PLib (in sP2PLib.dll) Version: 1.6.0.0 (1.6.0.0)
Syntax

Public Shared Function GetAddressTTLDistanceSync ( _
	HostNameOrAddress As String _
) As Short

Parameters

HostNameOrAddress
Type: System String
Host name or IP address of remote host

Return Value

Minimal TTL to reach host. On exception -1 is returned
See Also