4D Internet Commands v14

IT_TCPversion

Home

 
4D Internet Commands v14
IT_TCPversion

IT_TCPversion 


 

IT_TCPversion ( stackKind ; stackVersion ) -> Function result 
Parameter Type   Description
stackKind  Integer in 0 = None, 3 = WinSock, 4 = BSD
stackVersion  Text in Version number of the TCP stack
Function result  Integer in Error Code

The IT_TCPversion command 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 BSD 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 (Obsolete, see Compatibility note)
3WinSock
4BSD Sockets

Compatibility notes:

  • MacTCP is no longer supported (starting from version 6.8). Therefore, the stackKind parameter will no longer return "1".
  • Open Transport is no longer supported (starting from version 2004). Therefore, the stackKind parameter will no longer return "2".

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

 
PROPERTIES 

Product: 4D Internet Commands
Theme: IC Utilities
Number: 88916

 
HISTORY 

Modified: 4D Internet Commands 2004

 
ARTICLE USAGE

4D Internet Commands ( 4D Internet Commands v11.4)
4D Internet Commands ( 4D v13.2)
4D Internet Commands ( 4D Internet Commands v12.1)
4D Internet Commands ( 4D Internet Commands v14 R2)
4D Internet Commands ( 4D Internet Commands v14)
4D Internet Commands ( 4D Internet Commands v14 R3)
4D Internet Commands ( 4D Internet Commands v14 R4)