語言

SocketOptions.IpTos 欄位

定義

警告

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

此選項可在 IP 標頭中設定 TCP 或 UDP 套接字的服務類型或流量類別欄位。

[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
屬性

備註

此選項可在 IP 標頭中設定 TCP 或 UDP 套接字的服務類型或流量類別欄位。

在 1.4 版本加入。

Java 文件 java.net.SocketOptions.IP_TOS

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於