語言

SocketOptions.SoReuseaddr 欄位

定義

警告

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

套筒SO_REUSEADDR。

[Android.Runtime.Register("SO_REUSEADDR")]
[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 SoReuseaddr = 4;
[<Android.Runtime.Register("SO_REUSEADDR")>]
[<System.Obsolete("This constant will be removed in the future version. Use Java.Net.SocketOption enum directly instead of this field.", true)>]
val mutable SoReuseaddr : Java.Net.SocketOption

欄位值

Value = 4
屬性

備註

套筒SO_REUSEADDR。 此設定僅用於 Java 中的 MulticastSockets,且預設為 MulticastSockets 的設定。

適用於:DatagramSocketImpl

Java 文件 java.net.SocketOptions.SO_REUSEADDR

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

適用於