View definition

(ProtocolSocket).SetSendError

Defined in github.com/go-mangos/mangos/protocol.go

Description

SetSendError is used to cause socket TX callers to report an error. This can be used to force an error return rather than waiting to send a message that will never be delivered (e.g. due to incorrect state.) If set to nil, then TX works normally.