mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 19:02:59 +00:00
check for EOPNOTSUPP in QNativeSocketEnginePrivate::nativeListen()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
892eae2430
commit
6f6be9a3f7
1 changed files with 4 additions and 0 deletions
|
@ -476,6 +476,10 @@ bool QNativeSocketEnginePrivate::nativeListen(int backlog)
|
|||
setError(QAbstractSocket::AddressInUseError,
|
||||
PortInuseErrorString);
|
||||
break;
|
||||
case EOPNOTSUPP:
|
||||
setError(QAbstractSocket::UnsupportedSocketOperationError,
|
||||
OperationUnsupportedErrorString);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue