Home
last modified time | relevance | path

Searched refs:SOCKET_ERROR (Results 1 – 5 of 5) sorted by relevance

/system/core/libcutils/
Dsocket_inaddr_any_server_windows.c54 sizeof(exclusive)) == SOCKET_ERROR || in socket_inaddr_any_server()
56 sizeof(v6_only)) == SOCKET_ERROR) { in socket_inaddr_any_server()
67 if (bind(sock, (struct sockaddr*)&addr, sizeof(addr)) == SOCKET_ERROR) { in socket_inaddr_any_server()
73 if (type == SOCK_STREAM && listen(sock, LISTEN_BACKLOG) == SOCKET_ERROR) { in socket_inaddr_any_server()
Dsockets_windows.cpp81 nullptr) != SOCKET_ERROR) { in socket_send_buffers()
Dsocket_network_client_windows.c61 if (connect(sock, address->ai_addr, address->ai_addrlen) == SOCKET_ERROR) { in socket_network_client()
/system/bt/udrv/ulinux/
Duipc_linux.h23 #define SOCKET_ERROR (-1) macro
/system/core/adb/
Dsysdeps_win32.cpp690 if (result == SOCKET_ERROR) { in adb_poll()
720 if (shutdown(f->fh_socket, SD_BOTH) == SOCKET_ERROR) { in _fh_socket_close()
728 if (closesocket(f->fh_socket) == SOCKET_ERROR) { in _fh_socket_close()
746 if (result == SOCKET_ERROR) { in _fh_socket_read()
762 if (result == SOCKET_ERROR) { in _fh_socket_write()
869 if (connect(s, (struct sockaddr*)&addr, sizeof(addr)) == SOCKET_ERROR) { in network_loopback_client()
927 … if (setsockopt(s, SOL_SOCKET, SO_EXCLUSIVEADDRUSE, (const char*)&n, sizeof(n)) == SOCKET_ERROR) { in _network_server()
936 if (bind(s, (struct sockaddr*)&addr, sizeof(addr)) == SOCKET_ERROR) { in _network_server()
947 if (listen(s, LISTEN_BACKLOG) == SOCKET_ERROR) { in _network_server()
1030 if (connect(s, addrinfo->ai_addr, addrinfo->ai_addrlen) == SOCKET_ERROR) { in network_connect()
[all …]