SocketImpl.InterfaceConsts.IpTos 字段

定义

注意

This constant will be removed in the future version. Use Java.Net.SocketOption enum directly instead of this field.

此选项设置 TCP 或 UDP 套接字的 IP 标头中的服务类型或流量类字段。

[Android.Runtime.Register("IP_TOS")]
[System.Obsolete("This constant will be removed in the future version. Use Java.Net.SocketOption enum directly instead of this field.", true)]
public const Java.Net.SocketOption IpTos = 3;
[<Android.Runtime.Register("IP_TOS")>]
[<System.Obsolete("This constant will be removed in the future version. Use Java.Net.SocketOption enum directly instead of this field.", true)>]
val mutable IpTos : Java.Net.SocketOption

字段值

Value = 3
属性

注解

此选项设置 TCP 或 UDP 套接字的 IP 标头中的服务类型或流量类字段。

在 1.4 中添加。

Java文档java.net.SocketOptions.IP_TOS

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于