SIOCSHSNOTIFY output

The SIOCSHSNOTIFY ioctl sets the following return codes and reason codes:

Table 1. SIOCSHSNOTIFY IOCTL return and reason codes
ReturnValue ReturnCode ReasonCode Meaning
0 0 0 The request was successful.
-1 EProtoType JrSocketTypeNotSupported The request was not successful. The socket is not a stream (TCP) socket.
-1 EINVAL JrInvalidVersion The value specified in the HSNOTIFYi_Ver field is not supported.
-1 EINVAL JrInvalidVersion The length of the input parameter list is too small.