• Home
  • Raw
  • Download

Lines Matching refs:client_socket

189     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
822 client_socket=(*(SOCKET_TYPE *) socket); in DistributePixelCacheClient()
823 count=dpc_send(client_socket,DPCSessionKeyLength,GetStringInfoDatum(secret)); in DistributePixelCacheClient()
827 count=dpc_read(client_socket,1,(unsigned char *) &command); in DistributePixelCacheClient()
830 count=dpc_read(client_socket,sizeof(key),(unsigned char *) &key); in DistributePixelCacheClient()
838 status=OpenDistributeCache(registry,client_socket,session_key, in DistributePixelCacheClient()
840 count=dpc_send(client_socket,sizeof(status),(unsigned char *) &status); in DistributePixelCacheClient()
845 status=ReadDistributeCachePixels(registry,client_socket,session_key, in DistributePixelCacheClient()
851 status=ReadDistributeCacheMetacontent(registry,client_socket, in DistributePixelCacheClient()
857 status=WriteDistributeCachePixels(registry,client_socket,session_key, in DistributePixelCacheClient()
863 status=WriteDistributeCacheMetacontent(registry,client_socket, in DistributePixelCacheClient()
880 count=dpc_send(client_socket,sizeof(status),(unsigned char *) &status); in DistributePixelCacheClient()
881 CLOSE_SOCKET(client_socket); in DistributePixelCacheClient()
977 client_socket; in DistributePixelCacheServer() local
983 client_socket=accept(server_socket,(struct sockaddr *) &address,&length); in DistributePixelCacheServer()
984 if (client_socket == -1) in DistributePixelCacheServer()
988 (void *) &client_socket); in DistributePixelCacheServer()
992 if (CreateThread(0,0,DistributePixelCacheClient,(void*) &client_socket,0, in DistributePixelCacheServer()