src/qt3support/other/q3process_unix.cpp
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
   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