|
|
ITK Programmer's Guide |
||||||||||||
|
Table of contents | Intro | General
| TCP Low Level | TCP High Level | UDP | DNS
| PPP
|
|||||||||||||
|
ITK_Init |
||||||||||||||||
|
|
|
|||||||||||||||
|
Syntax: |
result := ITK_Init (licence)
|
|||||||||||||||
|
Description: |
Initialises ITK by giving ITK it's license number.
|
|||||||||||||||
|
Warning: |
If both license numbers are empty or invalid, ITK will run in demo mode and beep three times. Just call this routine once in your application prior to any other call to ITK , otherwise the "demo dialog" will show up (the best place to do this is the "Startup" procedure or the "On Startup" method of 4Dv6). If you are using ITK in 4D Server's stored procedures, you will have to call ITK_Init at the beginning of those procedures (one call to ITK_Init is enough, you don't need to call it il all stored procedures), otherwise the "demo dialog" will show up on 4D Server.
|
|||||||||||||||
|
Params: |
|
|||||||||||||||
|
Example: |
$err := ITK_Init("serial_number")
|
|||||||||||||||
|
ITK_TCPInfos |
|||||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||||
|
Syntax: |
result := ITK_TCPInfos (localIP; version1; version2; ITKversion)
|
||||||||||||||||||||||||||||||
|
Description: |
Returns global information about the TCP/IP layers.
|
||||||||||||||||||||||||||||||
|
Params: |
|
||||||||||||||||||||||||||||||
|
Example: |
$err := ITK_TCPInfos(locAddr;TCPvers;OTvers) |
||||||||||||||||||||||||||||||
|
ITK_TCPGetStrm |
||||||||||||||||
|
|
|
|||||||||||||||
|
Syntax: |
result := ITK_TCPGetStrm (index)
|
|||||||||||||||
|
Description: |
This routine allows to retrieve the list of all current TCP streams allocated by ITK.
|
|||||||||||||||
|
Params: |
|
|||||||||||||||
|
Example: |
$nbStrm := ITK_TCPGetStrm(0) ` get the number of allocated streams |
|||||||||||||||
|
ITK_TCPGlobInfo |
||||||||||||||||
|
|
|
|||||||||||||||
|
Syntax: |
result := ITK_TCPGlobInfo (infoSelector)
|
|||||||||||||||
|
Description: |
Returns global information about the TCP layers.
|
|||||||||||||||
|
Params: |
|
|||||||||||||||
|
Example: |
maxTCPstrm := ITK_TCPGlobInfo(5) ` max. number of streams |
|||||||||||||||