MaxRetransmits Property
The number of times to retry sending a failed packet before disconnecting.
Syntax
public int getMaxRetransmits(); public void setMaxRetransmits(int maxRetransmits);
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.
Default Value
3