View definition

const OptionSurveyTime

Defined in


OptionSurveyTime is used to indicate the deadline for survey responses, when used with a SURVEYOR socket. Messages arriving after this will be discarded. Additionally, this will set the OptionRecvDeadline when starting the survey, so that attempts to receive messages fail with ErrRecvTimeout when the survey is concluded. The value is a time.Duration. Zero can be passed to indicate an infinite time. Default is 1 second.

OptionSurveyTime is referenced in 2 repositories