Lines Matching defs:client_socket
191 client_socket;
231 client_socket=socket(result->ai_family,result->ai_socktype,
233 if (client_socket == -1)
240 status=connect(client_socket,result->ai_addr,(socklen_t) result->ai_addrlen);
243 CLOSE_SOCKET(client_socket);
249 count=recv(client_socket,CHAR_TYPE_CAST secret,MagickPathExtent,0);
262 CLOSE_SOCKET(client_socket);
263 client_socket=(SOCKET_TYPE) (-1);
266 return(client_socket);
798 client_socket;
828 client_socket=(*(SOCKET_TYPE *) socket);
829 count=dpc_send(client_socket,DPCSessionKeyLength,GetStringInfoDatum(secret));
833 count=dpc_read(client_socket,1,(unsigned char *) &command);
836 count=dpc_read(client_socket,sizeof(key),(unsigned char *) &key);
844 status=OpenDistributeCache(registry,client_socket,session_key,
846 count=dpc_send(client_socket,sizeof(status),(unsigned char *) &status);
851 status=ReadDistributeCachePixels(registry,client_socket,session_key,
857 status=ReadDistributeCacheMetacontent(registry,client_socket,
863 status=WriteDistributeCachePixels(registry,client_socket,session_key,
869 status=WriteDistributeCacheMetacontent(registry,client_socket,
886 count=dpc_send(client_socket,sizeof(status),(unsigned char *) &status);
887 CLOSE_SOCKET(client_socket);
982 client_socket;
988 client_socket=accept(server_socket,(struct sockaddr *) &address,&length);
989 if (client_socket == -1)
993 (void *) &client_socket);
997 if (CreateThread(0,0,DistributePixelCacheClient,(void*) &client_socket,0,