Lines Matching refs:handshake
139 handshake(int fd, jlong timeout) {
155 setLastError(0, "timeout during handshake");
163 setLastError(0, "handshake failed - connection prematurally closed");
167 RETURN_IO_ERROR("recv failed during handshake");
181 sprintf(msg, "handshake failed - received >%s< - expected >%s<", b, hello);
187 RETURN_IO_ERROR("send failed during handshake");
332 * Use a default handshake timeout if not specified - this avoids an indefinite
379 * is a handshake timeout set then it will go into non-blocking mode
380 * anyway for the handshake.
389 /* handshake with the debugger */
390 err = handshake(socketFD, handshakeTimeout);
393 * If the handshake fails then close the connection. If there if an accept
480 err = handshake(socketFD, handshakeTimeout);