IT_SetTimeOut

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_SetTimeOut (timeout) Integer

ParameterTypeDescription
timeoutIntegerTimeout in seconds; limited to 0 thru 127
Function resultIntegerError Code

Description

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.

See Also

IT_GetTimeOut.


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