4D Internet Commands v14

IT_SetTimeOut

Home

 
4D Internet Commands v14
IT_SetTimeOut

IT_SetTimeOut 


 

IT_SetTimeOut ( timeout ) -> Function result 
Parameter Type   Description
timeout  Integer in Timeout in seconds; limited to 0 thru 127
Function result  Integer in Error Code

The IT_SetTimeOut command sets the integer value of the timeout period in seconds. This value is limited to between zero and 127 seconds. By default, the timeout period is 30 seconds.

timeout is the current value in seconds of the timeout period. The following commands are affected by IT_SetTimeOut:

TCP_Open
FTP_Login
FTP_Send
FTP_Receive
SMTP_QuickSend
SMTP_Send
POP3_Login
POP3_BoxInfo
POP3_Delete
POP3_Reset
POP3_MsgInfo
POP3_MsgLstInfo
POP3_GetMessage
POP3_MsgLst
POP3_Download
POP3_VerifyID
POP3_UIDToNum
IMAP_Login
IMAP_VerifyID
IMAP_Capability
IMAP_ListMBs
IMAP_SubscribeMB
IMAP_GetMBStatus
IMAP_SetCurrentMB
IMAP_Delete
IMAP_MsgInfo
IMAP_MsgLstInfo
IMAP_GetMessage
IMAP_MsgLst
IMAP_SetFlags
IMAP_GetFlags
IMAP_Search
IMAP_MsgFetch
IMAP_Download
IMAP_CopyToMB
IMAP_CreateMB
IMAP_RenameMB
IMAP_DeleteMB
NET_Finger
NET_Ping
NET_Time

Note: Setting the timeout to zero for the TCP_Listen command allows it to listen indefinitely. Make sure you set the timeout back to some other value after this command. Also, the timeout value is used for "TCP/IP timeouts" AND "wait for a response timeout". If you set the timeout to zero, it will never get enough time to wait for a response.

 
PROPERTIES 

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

 
HISTORY 

Modified: 4D Internet Commands 6.8.1

 
SEE ALSO 

IT_GetTimeOut

 
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)