Home
last modified time | relevance | path

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

/system/core/adb/
Dsysdeps_win32.cpp133 #define fh_socket u.socket macro
576 f->fh_socket = INVALID_SOCKET; in _fh_socket_init()
580 if (f->fh_socket != INVALID_SOCKET) { in _fh_socket_close()
582 if (shutdown(f->fh_socket, SD_BOTH) == SOCKET_ERROR) { in _fh_socket_close()
590 if (closesocket(f->fh_socket) == SOCKET_ERROR) { in _fh_socket_close()
595 f->fh_socket = INVALID_SOCKET; in _fh_socket_close()
606 int result = recv(f->fh_socket, reinterpret_cast<char*>(buf), len, 0); in _fh_socket_read()
622 int result = send(f->fh_socket, reinterpret_cast<const char*>(buf), len, 0); in _fh_socket_write()
728 f->fh_socket = s; in network_loopback_client()
783 f->fh_socket = s; in _network_server()
[all …]