MaxRetransmits Property

The number of times to retry sending a failed packet before disconnecting.

Syntax

ANSI (Cross Platform)
int GetMaxRetransmits();
int SetMaxRetransmits(int iMaxRetransmits); Unicode (Windows) INT GetMaxRetransmits();
INT SetMaxRetransmits(INT iMaxRetransmits);
@property (nonatomic,readwrite,assign,getter=maxRetransmits,setter=setMaxRetransmits:) int maxRetransmits;
- (int)maxRetransmits;
- (void)setMaxRetransmits:(int)newMaxRetransmits;
#define PID_TFTP_MAXRETRANSMITS 4

IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_TFTP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_TFTP_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

3

Remarks

This property allows you to specify the number of times that you would like to try re-sending the last data packet if the original packet fails.

The RetransmitTimeout determines the wait time (in seconds) between successive retransmissions.

The default value for the MaxRetransmits property is 3.

Data Type

Integer

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 C++ Edition - Version 20.0 [Build 8307]