Searched refs:connect_rv (Results 1 - 3 of 3) sorted by relevance

/libcore/ojluni/src/main/native/
H A DInet4AddressImpl.c202 int connect_rv = -1; local
289 connect_rv = JVM_Connect(fd, (struct sockaddr *)&him, len);
295 if (connect_rv == 0 || errno == ECONNREFUSED) {
331 optlen = sizeof(connect_rv);
332 if (JVM_GetSockOpt(fd, SOL_SOCKET, SO_ERROR, (void*)&connect_rv,
334 connect_rv = errno;
336 if (connect_rv == 0 || connect_rv == ECONNREFUSED) {
H A DPlainSocketImpl.c240 int connect_rv = -1; local
265 connect_rv = NET_Connect(fd, (struct sockaddr *)&him, len);
267 if (connect_rv == JVM_IO_ERR && errno == EINPROGRESS ) {
279 connect_rv = NET_Poll(&pfd, 1, -1);
290 connect_rv = NET_Select(fd+1, 0, &wr, &ex, 0);
294 if (connect_rv == JVM_IO_ERR) {
301 if (connect_rv > 0) {
304 optlen = sizeof(connect_rv);
306 (void*)&connect_rv, &optlen) <0) {
307 connect_rv
[all...]
H A DInet6AddressImpl.c274 int connect_rv = -1; local
365 connect_rv = JVM_Connect(fd, (struct sockaddr *)&him6, len);
371 if (connect_rv == 0 || errno == ECONNREFUSED) {
408 optlen = sizeof(connect_rv);
409 if (JVM_GetSockOpt(fd, SOL_SOCKET, SO_ERROR, (void*)&connect_rv,
411 connect_rv = errno;
413 if (connect_rv == 0 || ECONNREFUSED) {

Completed in 40 milliseconds