def _Send ( self, sock, req ):
		"""
		INTERNAL METHOD, DO NOT CALL. send request to searchd server.
		"""
		total = 0
		while True:
			sent = sock.send ( req[total:] )
			if sent<=0:
				break
				
			total = total + sent
		
		return total

		INTERNAL METHOD, DO NOT CALL. send request to searchd server.
		
plugins/sphinx/class/sphinxapi.py