revised SendRaw,SendStream