equal
deleted
inserted
replaced
1 /**************************************************************************** |
1 /**************************************************************************** |
2 ** |
2 ** |
3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). |
3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
4 ** All rights reserved. |
4 ** All rights reserved. |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
6 ** |
6 ** |
7 ** This file is part of the QtNetwork module of the Qt Toolkit. |
7 ** This file is part of the QtNetwork module of the Qt Toolkit. |
8 ** |
8 ** |
901 r = -2; |
901 r = -2; |
902 break; |
902 break; |
903 case EBADF: |
903 case EBADF: |
904 case EINVAL: |
904 case EINVAL: |
905 case EIO: |
905 case EIO: |
906 setError(QAbstractSocket::NetworkError, ReadErrorString); |
906 //error string is now set in read(), not here in nativeRead() |
907 break; |
907 break; |
908 #ifdef Q_OS_SYMBIAN |
908 #ifdef Q_OS_SYMBIAN |
909 case EPIPE: |
909 case EPIPE: |
910 #endif |
910 #endif |
911 case ECONNRESET: |
911 case ECONNRESET: |