Method _Stdio.UDP()->set_type() Method set_type UDP set_type(int sock_type) UDP set_type(int sock_type, int family) Description Sets socket type and protocol family.