equal
deleted
inserted
replaced
247 // Request connection |
247 // Request connection |
248 if (connect(socketFD[1], (struct sockaddr*)&ipAddr, sizeof(ipAddr))) |
248 if (connect(socketFD[1], (struct sockaddr*)&ipAddr, sizeof(ipAddr))) |
249 if (errno != EINPROGRESS) { BAILOUT }; |
249 if (errno != EINPROGRESS) { BAILOUT }; |
250 |
250 |
251 // Accept connection |
251 // Accept connection |
252 socketFD[0] = accept(tmpSocket, (struct sockaddr *)NULL, (size_t *)NULL); |
252 socketFD[0] = accept(tmpSocket, (struct sockaddr *)NULL, (QT_SOCKLEN_T *)NULL); |
253 if(socketFD[0] == -1) { BAILOUT }; |
253 if(socketFD[0] == -1) { BAILOUT }; |
254 |
254 |
255 // We're done |
255 // We're done |
256 qt_safe_close(tmpSocket); |
256 qt_safe_close(tmpSocket); |
257 |
257 |