error with sendto keep getting error 10047, fixed other issues though