IT_TCPversion


4D - Documentation Français English German 4D Internet Commands, Theme List 4D Internet Commands, Alphabetical List Back Previous Next

version 6.8.1 (Modified)


IT_TCPversion (stackKind; stackVersion) Integer

ParameterTypeDescription
stackKindInteger0 = None, 2 = Open Transport, 3 = WinSock
stackVersionTextVersion number of the TCP stack
Function resultIntegerError Code

Description

The command IT_TCPversion returns information about the type of TCP stack currently in use by the 4D Internet Commands. The type of Stack varies by platform. Under Macintosh, only Open Transport is now supported. Under Windows, the WinSock TCP stack is supported.

stackKind returns an integer value expressing the type of TCP stack currently in use. The value returned identifies the following supported TCP stacks:

CodeTCP Stack
0None
1MacTCP (Obsolete, see Compatibility note)
2Open Transport
3WinSock

Compatibility note: MacTCP is no longer supported (starting from version 6.8). Therefore, the command will no longer return "1".

stackVersion returns a Text value representing the version number of the TCP stack currently in use and identified by the stackKind parameter.


4D - Documentation Français English German 4D Internet Commands, Theme List 4D Internet Commands, Alphabetical List Back Previous Next