View definition

(ProtocolSocket).SetRecvError

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

Description

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