/external/chromium_org/sandbox/win/sandbox_poc/pocdll/ |
network.cc | 24 SOCKET listen_socket; local 25 listen_socket = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); 26 if (listen_socket == INVALID_SOCKET) { 40 if (bind(listen_socket, reinterpret_cast<SOCKADDR*>(&service), 44 closesocket(listen_socket); 51 if (listen(listen_socket, SOMAXCONN) == SOCKET_ERROR) {
|
/system/core/adb/ |
jdwp_service.c | 437 int listen_socket; member in struct:__anon60754 491 control->listen_socket = s; 504 D("jdwp control socket started (%d)\n", control->listen_socket); 521 s = adb_socket_accept( control->listen_socket, &addr, &addrlen );
|
/external/compiler-rt/lib/msan/tests/ |
msan_test.cc | 717 int listen_socket = socket(AF_INET, SOCK_STREAM, 0); local 718 ASSERT_LT(0, listen_socket); 724 int res = bind(listen_socket, (struct sockaddr *)&sai, sizeof(sai)); 727 res = listen(listen_socket, 1); 731 res = getsockname(listen_socket, (struct sockaddr *)&sai, &sz); 744 int new_sock = accept(listen_socket, (struct sockaddr *)&sai, &sz); 757 close(listen_socket); [all...] |