Socket initialization added to R_UDP