Using Win32 functions in Visual FoxPro Image Gallery
IP Helper
..msdn
GetAdaptersAddresses
GetAdaptersInfo
GetBestInterface
GetBestRoute
GetIfEntry
GetInterfaceInfo
GetIpAddrTable
GetIpNetTable
GetIpStatistics
GetNetworkParams
GetNumberOfInterfaces
GetRTTAndHopCount
GetTcp6Table
GetTcpStatistics
GetTcpTable
GetUdpTable
IcmpCloseHandle
IcmpCreateFile
IcmpSendEcho
if_indextoname
if_nametoindex
IpReleaseAddress
IpRenewAddress
SendARP
Code examples:
GetTcp6Table
..msdn    Add comment     W32 Constants      Translate this page
Retrieves the TCP connection table for IPv6.
Code examples:
Declaration:
ULONG WINAPI GetTcp6Table(
  __out    PMIB_TCP6TABLE TcpTable,
  __inout  PULONG SizePointer,
  __in     BOOL Order
);

FoxPro declaration:
DECLARE INTEGER GetTcp6Table IN Iphlpapi;
    STRING @TcpTable,;
    LONG @SizePointer,;
    INTEGER IsSorted
Parameters:
TcpTable
A pointer to a buffer that receives the TCP connection table for IPv6 as a MIB_TCP6TABLE structure.

SizePointer
On input, specifies the size in bytes of the buffer pointed to by the TcpTable parameter.

Order
A Boolean value that specifies whether the TCP connection table should be sorted.
Return value:
If the function succeeds, the return value is NO_ERROR (0).
Usage:
LOCAL cBuffer, nBufsize, nResult
nBufsize = 2048
cBuffer = REPLICATE(CHR(0), m.nBufsize)

nResult = GetTcp6Table(@cBuffer, @nBufsize, 1) 

IF m.nResult <> 0
    ? "Error code:", m.nResult
ENDIF
My comment:
Requires Windows Vista.

See also: GetTcpTable
Word Index links for the GetTcp6Table :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2008-01-08 10:21:27
Modified: 2008-01-08 10:31:27
Visited in last 7 days: 7
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.225.20.73)
15 sec.
Function group: 'Shell Lightweight Utility APIs -- misc. functions'
29 sec.Function: 'NetMessageNameEnum'
46 sec.Function: 'LockWorkStation'
59 sec.Function: 'SetConsoleTextAttribute'
1.2 min.Function: 'DeleteDC'
1.43 min.Function: 'IpRenewAddress'
1.63 min.Function: 'StrFormatByteSize'
1.92 min.Function: 'WSAStartup'
2.17 min.Function: 'GlobalMemoryStatus'
2.4 min.Function: 'GetClassInfo'
Google
Advertise here!