Home
last modified time | relevance | path

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

/external/ImageMagick/MagickCore/
Ddistribute-cache.c189 client_socket; in ConnectPixelCacheServer() local
229 client_socket=socket(result->ai_family,result->ai_socktype, in ConnectPixelCacheServer()
231 if (client_socket == -1) in ConnectPixelCacheServer()
238 status=connect(client_socket,result->ai_addr,(socklen_t) result->ai_addrlen); in ConnectPixelCacheServer()
241 CLOSE_SOCKET(client_socket); in ConnectPixelCacheServer()
247 count=recv(client_socket,CHAR_TYPE_CAST secret,MagickPathExtent,0); in ConnectPixelCacheServer()
260 CLOSE_SOCKET(client_socket); in ConnectPixelCacheServer()
261 client_socket=(SOCKET_TYPE) (-1); in ConnectPixelCacheServer()
264 return(client_socket); in ConnectPixelCacheServer()
792 client_socket; in DistributePixelCacheClient() local
[all …]
/external/autotest/client/cros/
Ddhcp_unittest.py183 client_socket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
184 client_socket.bind(("127.0.0.1", 8068))
185 client_socket.settimeout(0.1)
186 client_socket.sendto(discovery_message.to_binary_string(),
189 offer_packet = receive_packet(client_socket)
217 client_socket.sendto(request_message.to_binary_string(),
219 ack_packet = receive_packet(client_socket)
/external/compiler-rt/lib/msan/tests/
Dmsan_test.cc1016 int client_socket = socket(AF_INET, SOCK_DGRAM, 0); in TEST() local
1017 ASSERT_LT(0, client_socket); in TEST()
1024 res = bind(client_socket, (struct sockaddr *)&client_sai, sizeof(client_sai)); in TEST()
1028 res = getsockname(client_socket, (struct sockaddr *)&client_sai, &sz); in TEST()
1042 res = sendmsg(client_socket, &msg, 0); in TEST()
1065 close(client_socket); in TEST()