protocolWrongTypeForSocket
Protocol wrong for socket type.
Declaration
static var protocolWrongTypeForSocket: Errno { get }Mentioned in
Discussion
A protocol was specified that doesn’t support the semantics of the socket type requested. For example, you can’t use the ARPA Internet UDP protocol with type SOCK_STREAM.
The corresponding C error is EPROTOTYPE.